Accepted

/in/foo.cc:16:23: warning: integer constant is too large for its type
   16 |                 if(t>-100000000000000000000000) nd=max(nd,t+1);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:8:42: warning: overflow in conversion from 'long int' to 'int' changes value from '-10000000000' to '-1410065408' [-Woverflow]
    8 |         for(int i=1;i<=maxn;i++) best[i]=-10000000000;
      |                                          ^~~~~~~~~~~~
/in/foo.cc:8:41: warning: iteration 2097151 invokes undefined behavior [-Waggressive-loop-optimizations]
    8 |         for(int i=1;i<=maxn;i++) best[i]=-10000000000;
      |                                  ~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:8:22: note: within this loop
    8 |         for(int i=1;i<=maxn;i++) best[i]=-10000000000;
      |                     ~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 7ms 8.316 MiB
#2 Accepted 7ms 8.332 MiB
#3 Accepted 7ms 8.293 MiB
#4 Accepted 7ms 8.508 MiB
#5 Accepted 7ms 8.477 MiB
#6 Accepted 7ms 8.492 MiB
#7 Accepted 7ms 8.355 MiB
#8 Accepted 7ms 8.332 MiB
#9 Accepted 8ms 8.539 MiB
#10 Accepted 7ms 8.426 MiB
#11 Accepted 8ms 8.324 MiB
#12 Accepted 8ms 8.363 MiB
#13 Accepted 32ms 8.527 MiB
#14 Accepted 36ms 8.535 MiB
#15 Accepted 41ms 8.535 MiB
#16 Accepted 75ms 8.535 MiB
#17 Accepted 89ms 8.527 MiB
#18 Accepted 174ms 8.527 MiB
#19 Accepted 172ms 8.531 MiB
#20 Accepted 167ms 8.527 MiB

信息

递交者
类型
递交
题目
P2989 异或和
语言
C++
递交时间
2025-11-16 18:46:12
评测时间
2025-11-16 18:46:12
评测机
分数
100
总耗时
884ms
峰值内存
8.539 MiB