/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void print()':
/in/foo.cc:21:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(int k=1;k<=zn[i][j];k++)cout<<"  ";cnt+=zn[i][j];
    ^~~
/in/foo.cc:21:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    for(int k=1;k<=zn[i][j];k++)cout<<"  ";cnt+=zn[i][j];
                                           ^~~
/in/foo.cc:22:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(int k=1;k<=ns[i][j];k++) cout<<"**";cnt+=ns[i][j];
    ^~~
/in/foo.cc:22:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    for(int k=1;k<=ns[i][j];k++) cout<<"**";cnt+=ns[i][j];
                                            ^~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 444.0 KiB
#2 Runtime Error 1ms 440.0 KiB
#3 Runtime Error 1ms 340.0 KiB
#4 Runtime Error 2ms 316.0 KiB
#5 Runtime Error 2ms 308.0 KiB
#6 Runtime Error 1ms 328.0 KiB
#7 Runtime Error 2ms 312.0 KiB
#8 Runtime Error 1ms 312.0 KiB
#9 Runtime Error 1ms 328.0 KiB
#10 Runtime Error 1ms 312.0 KiB

信息

递交者
类型
递交
题目
P1247 Cross Logic
语言
C++
递交时间
2017-06-06 10:43:30
评测时间
2017-06-06 10:43:30
评测机
分数
0
总耗时
20ms
峰值内存
444.0 KiB