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 4ms 2.926 MiB
#2 Accepted 4ms 2.922 MiB
#3 Accepted 4ms 2.676 MiB
#4 Accepted 4ms 2.789 MiB
#5 Runtime Error 11ms 10.918 MiB
#6 Runtime Error 11ms 10.84 MiB
#7 Runtime Error 11ms 10.824 MiB
#8 Runtime Error 11ms 10.922 MiB
#9 Runtime Error 11ms 10.961 MiB
#10 Runtime Error 11ms 10.918 MiB

信息

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