/ SUOI /

记录详情

Accepted

/in/foo.cc: In function 'void solve(int, int)':
/in/foo.cc:52:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  vector<int>tmp;int mid=l+r>>1;
                         ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:72:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=0;i<=n;++i) printf("%d ",q[i]);puts("");
  ^~~
/in/foo.cc:72:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=0;i<=n;++i) printf("%d ",q[i]);puts("");
                                           ^~~~
# 状态 耗时 内存占用
#1 Accepted 11ms 2.383 MiB
#2 Accepted 9ms 412.0 KiB
#3 Accepted 16ms 2.406 MiB
#4 Accepted 11ms 436.0 KiB
#5 Accepted 14ms 2.406 MiB
#6 Accepted 13ms 440.0 KiB
#7 Accepted 14ms 2.414 MiB
#8 Accepted 14ms 376.0 KiB
#9 Accepted 451ms 5.398 MiB
#10 Accepted 458ms 4.16 MiB
#11 Accepted 445ms 5.383 MiB
#12 Accepted 448ms 4.16 MiB
#13 Accepted 437ms 5.426 MiB
#14 Accepted 442ms 4.164 MiB
#15 Accepted 935ms 7.719 MiB
#16 Accepted 961ms 7.812 MiB
#17 Accepted 939ms 7.762 MiB
#18 Accepted 963ms 7.809 MiB
#19 Accepted 939ms 7.715 MiB
#20 Accepted 958ms 7.816 MiB

信息

递交者
类型
递交
题目
#52 伐木
语言
C++
递交时间
2019-03-26 14:14:03
评测时间
2019-03-26 14:14:03
评测机
分数
100
总耗时
8488ms
峰值内存
7.816 MiB