/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:10: warning: iteration 10004 invokes undefined behavior [-Waggressive-loop-optimizations]
   if(!a[i]) ans++;
       ~~~^
/in/foo.cc:19:15: note: within this loop
  for(int i=1;i<=10005;i++)
              ~^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 256.0 KiB
#2 Wrong Answer 2ms 384.0 KiB
#3 Wrong Answer 4ms 264.0 KiB
#4 Wrong Answer 3ms 384.0 KiB
#5 Wrong Answer 2ms 384.0 KiB
#6 Wrong Answer 2ms 372.0 KiB
#7 Wrong Answer 2ms 360.0 KiB
#8 Wrong Answer 2ms 352.0 KiB
#9 Wrong Answer 3ms 340.0 KiB
#10 Wrong Answer 1ms 368.0 KiB

信息

递交者
类型
递交
题目
P1103 校门外的树
语言
C++
递交时间
2018-07-17 14:10:00
评测时间
2018-07-17 14:10:00
评测机
分数
0
总耗时
30ms
峰值内存
384.0 KiB