Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
119802 邓芷淇 矩阵排序 C++ 解答错误 10 10 MS 1212 KB 340 2024-01-12 20:55:18

Tests(1/10):


#include<bits/stdc++.h> #include<algorithm> using namespace std; typedef unsigned long long ull; typedef long long ll; string a[510],s; int n,m,cnt=1; int main() { cin>>n>>m; getchar(); for(int i=1;i<=n;i++) { getline(cin,a[i]); } sort(a+1,a+n+1); for(int i=1;i<=n;i++) { cout<<a[i]<<"\n"; } return 0; }


测评信息: