FiraCode @ 2024-08-27 15:54:17
原因:显然暴力可过。
Gen:
#include <bits/stdc++.h>
using namespace std;
mt19937 rng;
uniform_int_distribution<int> dist(-1000, 1000);
int main() {
freopen("in.txt", "w", stdout);
printf("%d %d %d\n", 200000, 1, 200000);
for (int i = 1; i <= 200000; ++i) printf("%d ", dist(rng));
return 0;
}
by FiraCode @ 2024-08-27 15:54:46
@mrsrz @chen_zhe
by OutsideR_ @ 2024-08-27 15:58:45
随机数???
by FiraCode @ 2024-08-27 15:59:17
@OutsideR_ 怎么了(((
by OutsideR_ @ 2024-08-27 16:02:37
@FiraCode 哦我看错了 我以为是正解(
by FiraCode @ 2024-08-27 16:04:32
#include <bits/stdc++.h>
using namespace std;
mt19937 rng;
uniform_int_distribution<int> dist(-1000, 1000);
int main() {
printf("%d %d %d\n", 200000, 1, 200000);
for (int i = 0; i <= 200000; ++i) printf("%d ", dist(rng));
return 0;
}
upd:刚刚下标写成