卡一个足以导致TLE的常数

P3292 [SCOI2016] 幸运数字

orz,我刚刚也想到了这个特判,然后从单点10s变成了3s。。。不知道为什么差这么多
by 韦特箫 @ 2019-01-24 08:57:04


@[biiwx123](/user/123584) 这不是肯定要加吗
by YellowBean_Elsa @ 2020-02-24 16:44:39


循环进行的条件里不是有 val!=0 吗…… ```cpp void insert(int_ x){ for(int i=62; i>=0&&x; --i){ if((x>>i&1) == 0) continue; if(d[i] == 0) d[i] = x; x ^= d[i]; } } ```
by Damo @ 2020-05-22 11:10:55


@[YellowBean](/user/104292) 别$D$人![u](https://xn--9zr.tk/ruo)
by peterwuyihong @ 2021-07-23 13:46:48


@[biiwx123](/user/123584) orzlz卡过去了![q](https://xn--9zr.tk/qq)![q](https://xn--9zr.tk/qq)
by peterwuyihong @ 2021-07-23 13:52:51


@[peterwuyihong](/user/100325) Cindy不要你了
by YellowBean_Elsa @ 2021-08-14 20:32:53


|