提交记录 6167


用户 题目 状态 得分 用时 内存 语言 代码长度
Joker ch7344. 鸭子排队 Compile Error 0 0 ns 0 KB C++ 482 B
提交时间 评测时间
2018-09-30 10:32:15 2020-08-01 00:39:53
#include <stdio.h>
#include <algorithm>
#include <functional>
namespace judgeduck {
	extern char *stdin_content;
	extern int stdin_size;
	extern char *stdout_content;
	extern int stdout_size;
	extern int stdout_max_size;
}

unsigned a[100001];

int main() {
	using namespace judgeduck;
	int n = *(int*)stdin_content;
        fwrite(stdin_content+4, 4, n, stdout);
        std::make_heap((unsigned*)stdout_content, (unsigned*)stdout_content+n, std::greater<unsigned>());
	return 0;
}

CompilationN/AN/ACompile ErrorScore: N/A


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