申请撤下题解&添加hack数据
查看原帖
申请撤下题解&添加hack数据
891606
2023gdgz01楼主2024/8/21 09:29

Rt.

rc_Taurus 的题解未将 lastlast 初始化为 22,代码过不了样例,且错别字极多(如“萝贝”、“联通块”等),所以申请撤下该题解。

提供一个 hack 此代码的 gen:

#include <cstdio>
#include <ctime>
#include <random>

using namespace std;

int n, x;
mt19937 Rand(time(0));

int main() {
	//freopen("19.in", "r", stdin);
	uniform_int_distribution<int> randn(4000000, 5000000);
	n = randn(Rand);
	printf("%d\n0 1\n", n);
	for (register int i = 1; i < n; ++i)
	{
		printf("%d %d\n", i & 1, 1 - (i & 1));
	}
	return 0;
}
2024/8/21 09:29
加载中...