提交记录 21530


用户 题目 状态 得分 用时 内存 语言 代码长度
liswt ch7344. 鸭子排队 Compile Error 0 0 ns 0 KB C++17 247 B
提交时间 评测时间
2024-04-12 11:50:38 2024-04-12 11:50:40
#include <stdio.h>

#define MAXN 100001

unsigned a[MAXN];
#include<algorithm>
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;
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2024-05-06 04:30:06 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用