记录详情

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

信息

递交者
类型
自测
题目
P1066 篝火晚会
语言
C++
递交时间
2019-05-18 09:56:07
评测时间
2019-05-18 09:56:07
评测机
分数
10
总耗时
1ms
峰值内存
332.0 KiB