/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:32:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if (mainOrAux[i]>0)
            ^
/in/foo.cc:24:14: warning: iteration 500000 invokes undefined behavior [-Waggressive-loop-optimizations]
         f[i] = 0;
         ~~~~~^~~
/in/foo.cc:23:15: note: within this loop
     for (i=0;i<=500000;i++)
              ~^~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 40ms 11.727 MiB
#2 Accepted 47ms 11.125 MiB
#3 Accepted 50ms 11.625 MiB
#4 Accepted 51ms 11.25 MiB
#5 Accepted 42ms 11.625 MiB
#6 Accepted 44ms 11.586 MiB
#7 Accepted 36ms 10.125 MiB
#8 Accepted 50ms 10.832 MiB
#9 Accepted 30ms 11.586 MiB
#10 Accepted 5ms 10.25 MiB

信息

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