| 记录编号 | 242599 | 评测结果 | MMMMMMMMMM | ||
|---|---|---|---|---|---|
| 题目名称 | 1406.[UVa 11462] 年龄排序 | 最终得分 | 0 | ||
| 用户昵称 | 是否通过 | 未通过 | |||
| 代码语言 | C++ | 运行时间 | 0.000 s | ||
| 提交时间 | 2016-03-27 20:26:30 | 内存使用 | 2.00 MiB | ||
//#include<iostream>
//#include<algorithm>
#include<cstring>
//#include<fstream>
#include<cstdio>
using namespace std;
//ofstream fout(""); ifstream fin("");
int main()
{
freopen("AgeSort.out","w",stdout);freopen("AgeSort.in","r",stdin);
int age[121],ini=0;
memset(age,0,sizeof(age));
while(scanf("%d",&ini)==1) age[ini]++;
for(int i=0;i<=120;i++)
for(int j=0;j<age[i];j++)
printf("%d ",i);
// fclose(stdin);fclose(stdout);
return 0;
}