提交记录 6163


用户 题目 状态 得分 用时 内存 语言 代码长度
Joker ch7344. 鸭子排队 Compile Error 0 0 ns 0 KB C++ 235 B
提交时间 评测时间
2018-09-30 10:20:00 2020-08-01 00:39:51
#include <stdio.h>
#include <algorithm>
#define MAXN 100001
unsigned a[MAXN];

int main() {
	fread(a, 1, MAXN<<2, stdin);
	int n = a[0];
	std::make_heap(a+1, a+1+n, std::greater<unsigned>());
	fwrite(a+1, 1, n<<2, stdout);
	return 0;
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-10 15:09:40 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠