记录详情

Accepted

/in/foo.cc: In function 'void init_lca()':
/in/foo.cc:53:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (top[i] ^ i) continue ; int Len = mxd[i] - dep[i];
         ^~
/in/foo.cc:53:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if (top[i] ^ i) continue ; int Len = mxd[i] - dep[i];
                                    ^~~
/in/foo.cc: In function 'int query(int, int)':
/in/foo.cc:64:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (dep[u] - dep[top[u]] - k >= Down[top[u]].size()) return 0;
             ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:68:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (k - dep[u] + dep[top[u]] >= Up[top[u]].size()) return 0; 
             ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 9ms 17.008 MiB
#2 Accepted 11ms 15.676 MiB
#3 Accepted 11ms 22.102 MiB
#4 Accepted 12ms 15.328 MiB
#5 Accepted 11ms 24.309 MiB
#6 Accepted 209ms 36.477 MiB
#7 Accepted 202ms 35.977 MiB
#8 Accepted 189ms 35.285 MiB
#9 Accepted 111ms 31.988 MiB
#10 Accepted 112ms 32.32 MiB
#11 Accepted 114ms 32.652 MiB
#12 Accepted 111ms 32.422 MiB
#13 Accepted 232ms 31.988 MiB
#14 Accepted 234ms 32.492 MiB
#15 Accepted 246ms 32.176 MiB
#16 Accepted 246ms 32.617 MiB
#17 Accepted 205ms 30.82 MiB
#18 Accepted 206ms 30.773 MiB
#19 Accepted 215ms 30.062 MiB
#20 Accepted 700ms 60.977 MiB

信息

递交者
类型
递交
题目
lxhgww的奇思妙想
语言
C++
递交时间
2019-03-13 14:06:44
评测时间
2019-03-13 14:06:44
评测机
分数
100
总耗时
3395ms
峰值内存
60.977 MiB