/ Vijos /

记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:19:22: warning: iteration 10001 invokes undefined behavior [-Waggressive-loop-optimizations]
   19 |                 if (a[i] == 1) { n++; }
      |                     ~^~~
/in/foo.c:18:22: note: within this loop
   18 |         for (i = 0;i < 10002;i++) {
      |                    ~~^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 324.0 KiB
#2 Accepted 1ms 284.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Accepted 1ms 460.0 KiB
#5 Accepted 1ms 420.0 KiB
#6 Accepted 1ms 320.0 KiB
#7 Accepted 1ms 320.0 KiB
#8 Accepted 1ms 348.0 KiB
#9 Accepted 1ms 320.0 KiB
#10 Accepted 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1103 校门外的树
语言
C
递交时间
2025-07-06 18:08:34
评测时间
2025-07-06 18:08:34
评测机
分数
90
总耗时
13ms
峰值内存
460.0 KiB