提交记录 11234
| 提交时间 |
评测时间 |
| 2019-11-08 10:03:53 |
2020-08-01 02:40:06 |
#include <cstdio>
#include <algorithm>
using namespace std;
#define re register int
inline int read(){
re x=0,f=1;
register char ch;
for(ch=getchar();ch<'0'||ch>'9';ch=getchar())if(ch=='-')f=-1;
for(;ch>='0'&&ch<='9';ch=getchar())x=(x<<1)+(x<<3)+(ch^48);
return x*f;
}
int main(){
re n=read;
for(re i=1;i<=n;++i){
a[i]=read();
}
sort(a+!,a+n+1);
for(re i=1;i<=n;++i){
printf("%d ",a[i]);
}
return 0;
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-28 03:24:31 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠