Runtime Error

foo.cc: In function ‘void bfs(int)’:
foo.cc:20:21: warning: unused variable ‘x’ [-Wunused-variable]
   20 |                 int x=q.front();q.pop();
      |                     ^
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 7ms 512.0 KiB
#2 Runtime Error Segmentation fault 10ms 512.0 KiB
#3 Runtime Error Segmentation fault 14ms 612.0 KiB
#4 Runtime Error Segmentation fault 26ms 576.0 KiB
#5 Runtime Error Segmentation fault 14ms 600.0 KiB
#6 Runtime Error Segmentation fault 16ms 592.0 KiB
#7 Runtime Error Segmentation fault 18ms 580.0 KiB
#8 Wrong Answer Standard answer longer than user output. 5ms 508.0 KiB
#9 Runtime Error Segmentation fault 24ms 580.0 KiB
#10 Runtime Error Segmentation fault 23ms 580.0 KiB

信息

递交者
类型
递交
题目
P2205 图的存储和遍历
语言
C++
递交时间
2026-05-01 09:32:35
评测时间
2026-05-01 09:32:35
评测机
分数
0
总耗时
161ms
峰值内存
612.0 KiB