/ TYWZ /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i=1;i<=n;i++)
   ^~~
/in/foo.cc:23:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    int p=1;
    ^~~
/in/foo.cc:27:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
        if(i!=j)
        ^~
/in/foo.cc:29:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         p--;
         ^
# 状态 耗时 内存占用
#1 Accepted 4ms 1.82 MiB
#2 Runtime Error 4ms 1.816 MiB
#3 Runtime Error 4ms 1.969 MiB
#4 Runtime Error 3ms 1.812 MiB
#5 Runtime Error 5ms 1.824 MiB
#6 Runtime Error 25ms 1.812 MiB
#7 Runtime Error 8ms 1.816 MiB
#8 Runtime Error 44ms 1.816 MiB
#9 Runtime Error 47ms 1.82 MiB
#10 Runtime Error 38ms 1.812 MiB

信息

递交者
类型
递交
题目
17.10.6 Prob I - Median
比赛
2017.10.6 TYWZ NOIp提高组模拟练习
语言
C++
递交时间
2017-10-06 11:44:21
评测时间
2017-10-06 11:44:21
评测机
分数
10
总耗时
186ms
峰值内存
1.969 MiB