提交记录 10748
| 用户 |
题目 |
状态 |
得分 |
用时 |
内存 |
语言 |
代码长度 |
| yww |
ch7344. 鸭子排队 |
Compile Error |
0 |
0 ns |
0 KB |
C++11 |
247 B |
| 提交时间 |
评测时间 |
| 2019-09-28 20:23:16 |
2020-08-01 02:22:34 |
#include <stdio.h>
#include<algorithm>
#define MAXN 100001
unsigned a[MAXN];
int main() {
fread(a, 1, MAXN * 4, stdin);
int n = a[0];
// Rearrange the ducks a[1] .. a[n] here
sort(a+1,a+n+1);
fwrite(a + 1, 1, n * 4, stdout);
return 0;
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-29 01:13:07 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠