为什么不卡珂朵莉树?

P4130 [NOI2007] 项链工厂

XuYueming @ 2024-07-17 11:13:23

#include <iostream>
#include <cstdio>
using namespace std;

const int n = 500000, q = 500000, V = 1000;

signed main() {
    freopen("yzh", "w", stdout);
    cout << n << ' ' << V << endl;
    for (int i = 1; i <= n; ++i) cout << i % V + 1 << " \n"[i == n];
    cout << q << endl;
    for (int i = 1; i <= q; ++i)
        cout << 'C' << endl;
    return 0;
}

数据也没有说随机啊?

(并无恶意)

违规紫衫。


by XuYueming @ 2024-07-17 11:19:42

@Add_Catalyst


by GI录像机 @ 2024-07-17 11:34:26

2007年珂朵莉都没出生


|