| 记录编号 | 549493 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 379.背诵单词 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.000 s | ||
| 提交时间 | 2020-02-12 22:33:07 | 内存使用 | 0.00 MiB | ||
#include<cstdio>
#include<iostream>
#include<algorithm>
using namespace std;
int let(){
freopen("letter.in","r",stdin);
freopen("letter.out","w",stdout);
string st[101];
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++){
cin>>st[i];
}
sort(st+1,st+n+1);
for(int i=1;i<=n;i++){
cout<<st[i]<<"\n";
}
return 0;
}
int lol=let();
int main(void){;}