| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 61811 | 邸礼诚 | 19从小到大进行排序 | C++ | Accepted | 2 MS | 656 KB | 252 | 2023-12-10 17:02:15 |
#include<iostream> using namespace std; int main() { int t[100001]={0}; int n,shu; cin>>n; for(int i=0;i<n;i++){ cin>>shu; t[shu]++; } for(int i=0;i<=100000;i++){ for(int j=0;j<t[i];j++){ cout<<i<<" "; } } return 0; }