提交记录 7168


用户 题目 状态 得分 用时 内存 语言 代码长度
skip1978 ch7344. 鸭子排队 Compile Error 0 0 ns 0 KB C++ 491 B
提交时间 评测时间
2019-01-02 12:49:07 2020-08-01 01:00:40
#include <stdio.h>
#include <string.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;
}

int main() {
	using namespace judgeduck;
	int n = *(int*)stdin_content;
	memcpy(stdout_content, stdin_content+4, stdout_size = n<<2);
        std::sort((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-08 22:05:22 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠