记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:8:23: warning: 'n' is used uninitialized [-Wuninitialized]
    8 |         vector<int>k(n);
      |                       ^
foo.cc:7:13: note: 'n' declared here
    7 |         int n;
      |             ^
foo.cc:32:24: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
   32 |         cout<< x<<" "<<y;
      |                        ^
foo.cc:28:13: note: 'y' was declared here
   28 |         int y;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 6ms 412.0 KiB
#2 Runtime Error Segmentation fault 6ms 412.0 KiB
#3 Runtime Error Segmentation fault 6ms 412.0 KiB
#4 Runtime Error Segmentation fault 5ms 412.0 KiB
#5 Runtime Error Segmentation fault 6ms 412.0 KiB
#6 Runtime Error Segmentation fault 4ms 412.0 KiB
#7 Runtime Error Segmentation fault 6ms 412.0 KiB
#8 Runtime Error Segmentation fault 5ms 412.0 KiB
#9 Runtime Error Segmentation fault 5ms 412.0 KiB
#10 Runtime Error Segmentation fault 4ms 412.0 KiB
#11 Runtime Error Segmentation fault 4ms 412.0 KiB
#12 Runtime Error Segmentation fault 5ms 412.0 KiB
#13 Runtime Error Segmentation fault 4ms 412.0 KiB
#14 Runtime Error Segmentation fault 5ms 416.0 KiB
#15 Runtime Error Segmentation fault 4ms 412.0 KiB
#16 Runtime Error Segmentation fault 4ms 412.0 KiB
#17 Runtime Error Segmentation fault 5ms 412.0 KiB
#18 Runtime Error Segmentation fault 4ms 412.0 KiB
#19 Runtime Error Segmentation fault 5ms 412.0 KiB
#20 Runtime Error Segmentation fault 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1002 硕哥的最短路
语言
C++
递交时间
2023-11-21 14:05:12
评测时间
2023-11-21 14:05:12
评测机
分数
0
总耗时
102ms
峰值内存
416.0 KiB