/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if (mainOrAux[i]>0)
            ^
/in/foo.cc:19:14: warning: iteration 50010 invokes undefined behavior [-Waggressive-loop-optimizations]
         f[i] = 0;
         ~~~~~^~~
/in/foo.cc:18:15: note: within this loop
     for (i=0;i<=50010;i++)
              ~^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 1.0 MiB
#2 Wrong Answer 7ms 1.0 MiB
#3 Wrong Answer 4ms 1.0 MiB
#4 Wrong Answer 7ms 1.0 MiB
#5 Wrong Answer 5ms 1.113 MiB
#6 Wrong Answer 7ms 1020.0 KiB
#7 Wrong Answer 7ms 1.102 MiB
#8 Accepted 14ms 1.004 MiB
#9 Wrong Answer 15ms 1.094 MiB
#10 Accepted 3ms 1.082 MiB

信息

递交者
类型
递交
题目
P1313 金明的预算方案
语言
C++
递交时间
2018-03-06 12:04:59
评测时间
2018-03-06 12:04:59
评测机
分数
20
总耗时
77ms
峰值内存
1.113 MiB