/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void dfs1(int, int, int)':
/in/foo.cc:14:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < G[x].size(); i++) {
                     ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'void dfs2(int, int)':
/in/foo.cc:25:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < G[x].size(); i++) {
                     ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'void modify_col(int, int)':
/in/foo.cc:122:73: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized]
             pl = tid[r], pr = tid[r] + sz[r] - 1, v = fa[r], col_top[t] = tmp;
                                                              ~~~~~~~~~~~^~~~~
# 状态 耗时 内存占用
#1 Accepted 10ms 8.375 MiB
#2 Accepted 505ms 20.312 MiB
#3 Accepted 499ms 18.25 MiB
#4 Accepted 403ms 22.066 MiB
#5 Accepted 557ms 19.613 MiB
#6 Accepted 674ms 17.25 MiB
#7 Accepted 230ms 14.0 MiB
#8 Accepted 426ms 14.211 MiB
#9 Accepted 449ms 20.0 MiB
#10 Accepted 464ms 18.949 MiB

信息

递交者
类型
递交
题目
P2014 树点涂色
语言
C++
递交时间
2018-07-02 18:49:00
评测时间
2018-07-02 18:49:00
评测机
分数
100
总耗时
4221ms
峰值内存
22.066 MiB