/ Vijos /

记录详情

Accepted

/in/foo.cc:1:0: warning: ignoring #pragma G  [-Wunknown-pragmas]
 #pragma G++ optimize(2)
 
/in/foo.cc: In function 'void FastIO::wer(int, char)':
/in/foo.cc:44:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(z[++Z]=x%10+'0',x/=10);if(y)z[++Z]='-';
   ^~~~~
/in/foo.cc:44:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
   while(z[++Z]=x%10+'0',x/=10);if(y)z[++Z]='-';
                                ^~
/in/foo.cc:45:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(sr[++C]=z[Z],--Z);sr[++C]=T;
   ^~~~~
/in/foo.cc:45:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
   while(sr[++C]=z[Z],--Z);sr[++C]=T;
                           ^~
/in/foo.cc: In function 'void whatever::run()':
/in/foo.cc:287:18: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized]
       update_leaf(cur, old_result, prev->result, old_prefix_or_all, (prev==&nodes[x]?prev->all:prev->prefix));
       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 6.445 MiB
#2 Accepted 5ms 6.445 MiB
#3 Accepted 6ms 7.391 MiB
#4 Accepted 6ms 5.695 MiB
#5 Accepted 97ms 65.586 MiB
#6 Accepted 98ms 66.531 MiB
#7 Accepted 71ms 66.895 MiB
#8 Accepted 69ms 65.359 MiB
#9 Accepted 259ms 66.871 MiB
#10 Accepted 260ms 67.16 MiB
#11 Accepted 66ms 49.082 MiB
#12 Accepted 66ms 49.707 MiB
#13 Accepted 64ms 48.492 MiB
#14 Accepted 52ms 46.57 MiB
#15 Accepted 41ms 47.23 MiB
#16 Accepted 222ms 44.906 MiB
#17 Accepted 221ms 41.559 MiB
#18 Accepted 165ms 45.387 MiB
#19 Accepted 179ms 46.352 MiB
#20 Accepted 151ms 46.492 MiB

信息

递交者
类型
递交
题目
P2021 切树游戏
语言
C++
递交时间
2020-08-08 20:33:35
评测时间
2020-08-08 20:33:35
评测机
分数
100
总耗时
2110ms
峰值内存
67.16 MiB