Runtime Error

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:10:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |         for (int i=0;i<g[u].size();i++)
      |                      ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 1.469 MiB
#2 Accepted 2ms 1.32 MiB
#3 Accepted 2ms 1.457 MiB
#4 Accepted 2ms 1.426 MiB
#5 Runtime Error 9ms 9.516 MiB
#6 Runtime Error 9ms 9.441 MiB
#7 Runtime Error 10ms 9.52 MiB
#8 Runtime Error 10ms 9.523 MiB
#9 Runtime Error 10ms 9.516 MiB
#10 Runtime Error 10ms 9.52 MiB

信息

递交者
类型
递交
题目
P2564 工作沟通6级T2 2023.12
语言
C++
递交时间
2026-05-10 22:34:59
评测时间
2026-05-10 22:34:59
评测机
分数
40
总耗时
73ms
峰值内存
9.523 MiB