提交记录 11405


用户 题目 状态 得分 用时 内存 语言 代码长度
wys noi17a. 【NOI2017】整数 Compile Error 0 0 ns 0 KB C 357 B
提交时间 评测时间
2020-01-03 22:59:43 2020-08-01 02:43:01
// #10910

#include <stdio.h>
#include <string.h>
#include <algorithm>

inline unsigned next_int(unsigned x) {
	x ^= x << 13;
	x ^= x >> 17;
	x ^= x << 5;
	return x;
}

const int N = 10000000;

unsigned a[N];

int main() {
	unsigned x = 233;
	for (int i = 0; i < N; i++) {
		x = next_int(x);
		a[i] = x;
	}
	
	std::sort(a, a + N);
	
	printf("%u\n", a[0]);
}

CompilationN/AN/ACompile ErrorScore: N/A


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