Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:23: warning: iteration 1005 invokes undefined behavior [-Waggressive-loop-optimizations]
   13 |                 if(a[i]!=0) {
      |                    ~~~^
/in/foo.cc:12:23: note: within this loop
   12 |         for(int i=0; i<=1005; i++) {
      |                      ~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 368.0 KiB
#2 Accepted 2ms 432.0 KiB
#3 Accepted 2ms 480.0 KiB
#4 Accepted 2ms 528.0 KiB

信息

递交者
类型
递交
题目
P2595 春游3级1 202306
比赛
2025.7.16中级班练习
语言
C++
递交时间
2025-07-16 12:29:18
评测时间
2025-07-16 12:29:18
评测机
分数
100
总耗时
9ms
峰值内存
528.0 KiB