Accepted

foo.cc: In function ‘void dfs(int, int)’:
foo.cc:14:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   14 |     for(int i = 0; i < g[x].size(); i ++) {
      |                    ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 28ms 23.242 MiB
#2 Accepted 28ms 23.242 MiB
#3 Accepted 28ms 23.246 MiB
#4 Accepted 28ms 23.418 MiB
#5 Accepted 32ms 23.238 MiB
#6 Accepted 28ms 23.242 MiB
#7 Accepted 28ms 23.273 MiB
#8 Accepted 28ms 23.41 MiB
#9 Accepted 30ms 23.492 MiB
#10 Accepted 28ms 23.242 MiB

信息

递交者
类型
递交
题目
P2888 树上漫步
比赛
2025.3.30高级班练习
语言
C++
递交时间
2025-04-04 23:37:55
评测时间
2025-04-04 23:37:55
评测机
分数
100
总耗时
291ms
峰值内存
23.492 MiB