Runtime Error

foo.cc: In function ‘void bfs(long long int)’:
foo.cc:21:21: warning: unused variable ‘x’ [-Wunused-variable]
   21 |                 int x=q.front();q.pop();
      |                     ^
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 6ms 868.0 KiB
#2 Runtime Error Segmentation fault 7ms 508.0 KiB
#3 Runtime Error Segmentation fault 11ms 608.0 KiB
#4 Runtime Error Segmentation fault 23ms 512.0 KiB
#5 Runtime Error Segmentation fault 13ms 612.0 KiB
#6 Runtime Error Segmentation fault 15ms 640.0 KiB
#7 Runtime Error Segmentation fault 17ms 632.0 KiB
#8 Runtime Error Segmentation fault 19ms 600.0 KiB
#9 Wrong Answer Standard answer longer than user output. 5ms 516.0 KiB
#10 Runtime Error Segmentation fault 21ms 768.0 KiB

信息

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