记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i=2;i<=n;++i) pre[i]=i-1; pre[1]=n;
     ^~~
/in/foo.cc:19:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for (int i=2;i<=n;++i) pre[i]=i-1; pre[1]=n;
                                        ^~~
/in/foo.cc:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i=1;i<n;++i) nxt[i]=i+1; nxt[n]=1;
     ^~~
/in/foo.cc:20:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for (int i=1;i<n;++i) nxt[i]=i+1; nxt[n]=1;
                                       ^~~
/in/foo.cc:23:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while (!q.empty()) q.pop(); q.push(pre[1]); q.push(nxt[1]);
     ^~~~~
/in/foo.cc:23:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while (!q.empty()) q.pop(); q.push(pre[1]); q.push(nxt[1]);
                                 ^
# 状态 耗时 内存占用
#1 Accepted 1ms 332.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 340.0 KiB
#4 Accepted 16ms 1.566 MiB
#5 Accepted 14ms 1.688 MiB
#6 Accepted 15ms 1.609 MiB
#7 Accepted 15ms 1.641 MiB
#8 Accepted 14ms 1.676 MiB
#9 Accepted 14ms 1.641 MiB
#10 Accepted 12ms 1.453 MiB

信息

递交者
类型
递交
题目
P1066 篝火晚会
比赛
小兰赛 2019/5/17
语言
C++
递交时间
2019-05-18 09:57:54
评测时间
2019-05-18 09:57:54
评测机
分数
100
总耗时
109ms
峰值内存
1.688 MiB