U588167 【复制的】Dirichlet 前缀和
题目描述
前面忘了。
输入格式
为了避免过大的输入,本题的输入使用随机数生成器。
输入中只有一行两个整数 $n,seed$。其中 $seed$ 为 $32$ 位无符号整数,用来生成数据。
接下来,你要调用 $n$ 次随机数生成器,分别生成 $a_1\sim a_n$。
对于```C/C++```选手,生成器模板如下:
```cpp
int getseed(int seed){
seed^=seed17;
seed^=seed
输出格式
后面忘了。
说明/提示
忘了。