Description Last years Chicago was full of gangster fights and strange murders. The chief of the police got really tired of all these crimes, and deci ...
分类:
其他好文 时间:
2017-09-18 10:55:43
阅读次数:
219
题目大意: 定义mex数为数组中第一个没有出现的非负整数.有m个操作,每个操作有一个x,将数组中所有的元素都异或x,然后询问当前的mex Input First line contains two integer numbers n and m (1?≤?n,?m?≤?3·105) — number ...
分类:
其他好文 时间:
2017-09-08 14:53:49
阅读次数:
197
Description Last years Chicago was full of gangster fights and strange murders. The chief of the police got really tired of all these crimes, and deci ...
分类:
其他好文 时间:
2017-09-05 23:00:38
阅读次数:
258
There is a strange printer with the following two special requirements: Given a string consists of lower English letters only, your job is to count th ...
分类:
其他好文 时间:
2017-09-02 15:32:00
阅读次数:
125
题意:一个序列(n<3e5),m个查询,每次序列所有的数亦或x,问这个序列的mex(mex定义是最小没有出现过的非负整数),保留每一次的更改 ...
分类:
其他好文 时间:
2017-09-01 00:01:43
阅读次数:
163
1.in fuction xxx 指的是xxx没有赋值 2.关于该error 应将add函数放在main之前。 ...
分类:
其他好文 时间:
2017-08-29 23:42:07
阅读次数:
124
832C - Strange Radiation 思路:二分最短时间。 代码: ...
分类:
其他好文 时间:
2017-08-24 13:37:00
阅读次数:
215
现在,这里有一个功能: F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2-y*x (0 <= x <=100) 当x在0到100之间时,你能找到最小值吗? 输入 第一行包含一个整数T(1 < = T < = 100),这意味着测试用例的数量。然后T行,每一行只有一个实数Y。(0 < ...
分类:
其他好文 时间:
2017-08-24 01:12:30
阅读次数:
218
There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 <= Ki <= N) on every floor.The lift have just two ...
分类:
其他好文 时间:
2017-08-21 20:39:12
阅读次数:
152
Gigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance. It orders two arms of negli ...
分类:
其他好文 时间:
2017-08-21 13:30:01
阅读次数:
173