| 记录编号 | 42527 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 379.背诵单词 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.005 s | ||
| 提交时间 | 2012-09-26 10:05:51 | 内存使用 | 0.31 MiB | ||
#include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
string a[101];
int main()
{
freopen("letter.in","r",stdin);
freopen("letter.out","w",stdout);
int n; cin>>n;
for(int i=0;i<n;i++)cin>>a[i];
sort(a,a+n);
for(int i=0;i<n;i++)cout<<a[i]<<endl;
//system("pause");
return 0;
}