0_0_22261690_31094.cpp:87:16: error: stray '\241' in program
if(monster[i]&1){
^
0_0_22261690_31094.cpp:87:16: error: stray '\241' in program
0_0_22261690_31094.cpp:88:20: error: stray '\241' in program
t|=(1LL<<i); //第i位设置为1,即第(i+1)种怪物的数量为奇数
^
0_0_22261690_31094.cpp:88:20: error: stray '\241' in program
0_0_22261690_31094.cpp:92:13: error: stray '\241' in program
update(x1,y1,t); //区间更新
^
0_0_22261690_31094.cpp:92:13: error: stray '\241' in program
0_0_22261690_31094.cpp:99:13: error: stray '\241' in program
ll t=sum(x1,y1)^sum(x2,y2)^sum(x1,y2)^sum(x2,y1); //求区间的异或值(由a^a=0,a^0=a,所以我们异或掉多出来矩形的部分也就是我们所求的区域的值(就像我们求(x,y)的值,求出来的是(1,1)->(x,y)区域的值,如果我们求特定部分矩形的面积,我们需要减掉多余部分的值,这里把多余部分的值直接异或掉就可以了。))
^
0_0_22261690_31094.cpp:99:13: error: stray '\241' in program
|