/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main(int, const char**)':
/in/foo.cc:12:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define rep(i,l,r) for(int i=l;i<=r;++i)
                    ^
/in/foo.cc:150:5: note: in expansion of macro 'rep'
     rep(i,1,n+2) T.id[i]=i;T.cnt=n+2;
     ^~~
/in/foo.cc:150:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     rep(i,1,n+2) T.id[i]=i;T.cnt=n+2;
                            ^
/in/foo.cc:12:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define rep(i,l,r) for(int i=l;i<=r;++i)
                    ^
/in/foo.cc:151:5: note: in expansion of macro 'rep'
     rep(i,1,n) a[i+1]=read();T.build(1,n+2,0);
     ^~~
/in/foo.cc:151:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     rep(i,1,n) a[i+1]=read();T.build(1,n+2,0);
                              ^
# 状态 耗时 内存占用
#1 Accepted 80ms 20.363 MiB
#2 Accepted 85ms 22.25 MiB
#3 Accepted 324ms 20.375 MiB
#4 Accepted 150ms 22.375 MiB
#5 Accepted 241ms 22.445 MiB
#6 Wrong Answer 319ms 22.887 MiB
#7 Accepted 482ms 22.805 MiB
#8 Accepted 593ms 24.738 MiB
#9 Accepted 392ms 23.625 MiB
#10 Accepted 405ms 25.375 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2017-11-28 15:28:34
评测时间
2017-11-28 15:28:34
评测机
分数
90
总耗时
3076ms
峰值内存
25.375 MiB