/ 邱.Lucas /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (int j=0;j<=5;j++)
   ^~~
/in/foo.cc:20:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    for (int i=1;i<=m;i++)
    ^~~
/in/foo.cc:19:13: warning: iteration 5 invokes undefined behavior [-Waggressive-loop-optimizations]
    d[i].v[j]=10005;
    ~~~~~~~~~^~~~~~
/in/foo.cc:18:17: note: within this loop
   for (int j=0;j<=5;j++)
                ~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 468.0 KiB
#2 Accepted 1ms 488.0 KiB
#3 Accepted 1ms 476.0 KiB
#4 Accepted 1ms 484.0 KiB
#5 Accepted 1ms 472.0 KiB
#6 Accepted 3ms 484.0 KiB
#7 Accepted 2ms 472.0 KiB
#8 Accepted 3ms 556.0 KiB
#9 Accepted 5ms 464.0 KiB
#10 Accepted 1ms 476.0 KiB

信息

递交者
类型
递交
题目
P1037 金明的预算方案
语言
C++
递交时间
2020-08-29 16:45:50
评测时间
2020-08-29 16:45:50
评测机
分数
100
总耗时
26ms
峰值内存
556.0 KiB