记录详情

Accepted

/in/foo.cc: In function 'void Solve(int, int, int)':
/in/foo.cc:25:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(e[i].to!=fa) Solve(e[i].to,x,mid),num[x]+=num[e[i].to];for(int i=head[x];i;i=e[i].next)
     ^~
/in/foo.cc:25:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(e[i].to!=fa) Solve(e[i].to,x,mid),num[x]+=num[e[i].to];for(int i=head[x];i;i=e[i].next)
                                                               ^~~
/in/foo.cc:24:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=head[x];i;i=e[i].next)
     ^~~
/in/foo.cc:25:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     if(e[i].to!=fa) Solve(e[i].to,x,mid),num[x]+=num[e[i].to];for(int i=head[x];i;i=e[i].next)
                                                               ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB
#2 Accepted 1ms 208.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 2ms 336.0 KiB
#5 Accepted 53ms 1.793 MiB
#6 Accepted 87ms 2.016 MiB
#7 Accepted 48ms 2.184 MiB
#8 Accepted 98ms 2.605 MiB
#9 Accepted 3ms 328.0 KiB
#10 Accepted 78ms 4.07 MiB
#11 Accepted 145ms 6.59 MiB
#12 Accepted 1ms 204.0 KiB
#13 Accepted 1ms 196.0 KiB
#14 Accepted 1ms 204.0 KiB
#15 Accepted 1ms 324.0 KiB
#16 Accepted 2ms 332.0 KiB
#17 Accepted 2ms 328.0 KiB
#18 Accepted 142ms 2.57 MiB
#19 Accepted 93ms 2.32 MiB
#20 Accepted 283ms 2.441 MiB

信息

递交者
类型
递交
题目
3# 赛道修建( 长郡数据)
题目数据
下载
语言
C++
递交时间
2019-09-21 09:38:34
评测时间
2019-09-21 09:38:34
评测机
分数
100
总耗时
1053ms
峰值内存
6.59 MiB