/ Vijos /

记录详情

Accepted

foo.cc: In function 'void init()':
foo.cc:105:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(m=1;m<k;m<<=1);k=m;
     ^~~
foo.cc:105:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
     for(m=1;m<k;m<<=1);k=m;
                        ^
foo.cc: In function 'int main()':
foo.cc:236:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%s",s+1);
         ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 68ms 84.375 MiB
#2 Accepted 68ms 84.289 MiB
#3 Accepted 66ms 84.359 MiB
#4 Accepted 68ms 84.32 MiB
#5 Accepted 358ms 359.473 MiB
#6 Accepted 358ms 359.473 MiB
#7 Accepted 330ms 359.816 MiB
#8 Accepted 327ms 359.84 MiB
#9 Accepted 650ms 360.09 MiB
#10 Accepted 645ms 360.102 MiB
#11 Accepted 256ms 275.746 MiB
#12 Accepted 252ms 275.656 MiB
#13 Accepted 254ms 275.629 MiB
#14 Accepted 230ms 262.367 MiB
#15 Accepted 230ms 262.273 MiB
#16 Accepted 551ms 251.762 MiB
#17 Accepted 556ms 251.91 MiB
#18 Accepted 500ms 262.41 MiB
#19 Accepted 493ms 262.508 MiB
#20 Accepted 496ms 262.176 MiB

信息

递交者
类型
递交
题目
P2021 切树游戏
语言
C++
递交时间
2021-08-10 08:33:26
评测时间
2021-08-10 08:33:26
评测机
分数
100
总耗时
6764ms
峰值内存
360.102 MiB