| 记录编号 | 173106 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 1406.[UVa 11462] 年龄排序 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 2.848 s | ||
| 提交时间 | 2015-07-27 21:51:24 | 内存使用 | 0.23 MiB | ||
#include<cstdio>
using namespace std;
int a,tot[121];
int main()
{
freopen("AgeSort.in","r",stdin);
freopen("AgeSort.out","w",stdout);
while(scanf("%d",&a)==1)
++tot[a];
for(int i=0;i<=120;++i)
while(tot[i]--)
printf("%d ",i);
//while(1);
}