| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155490 | 万麟峰 | 19从小到大进行排序 | C++ | Output Limit Exceeded | 2 MS | 660 KB | 258 | 2026-06-07 12:18:58 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[100001]={0},n,m; cin>>n; for(int i=1;i<=n;i++){ cin>>m; a[m]++; } for(int i=1;i<=100000;i++){ if(a[i]!=0) while(a[i]!= 0) cout<<a[i]<<" "; a[i]--; } return 0; }