Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126207 | 范恒恺 | 19从小到大进行排序 | C++ | Output Limit Exceeded | 0 MS | 260 KB | 246 | 2025-07-16 16:32:22 |
#include<iostream> using namespace std; int a[200001]; int main(){ int n,m; cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; a[m]++; } for(int i=1;i<=200001;i++){ while(a[i]>0){ cout<<i<<" "; a[i]--; } } }