/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int SSSP(int, int, int)':
/in/foo.cc:21:15: warning: overflow in implicit constant conversion [-Woverflow]
         sup = LONG_MAX;
               ^~~~~~~~
/in/foo.cc:15:18: warning: unused variable 'j' [-Wunused-variable]
     int u, v, i, j, k, d, arg, sup;
                  ^
/in/foo.cc:15:21: warning: unused variable 'k' [-Wunused-variable]
     int u, v, i, j, k, d, arg, sup;
                     ^
/in/foo.cc:15:24: warning: unused variable 'd' [-Wunused-variable]
     int u, v, i, j, k, d, arg, sup;
                        ^
/in/foo.cc: In function 'void Run()':
/in/foo.cc:42:18: warning: unused variable 'k' [-Wunused-variable]
     int n, i, j, k, u, v, tmp, d;
                  ^
/in/foo.cc: In function 'int SSSP(int, int, int)':
/in/foo.cc:29:19: warning: 'arg' may be used uninitialized in this function [-Wmaybe-uninitialized]
         marked[u] = true;
         ~~~~~~~~~~^~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 208.0 KiB
#2 Runtime Error 1ms 224.0 KiB
#3 Runtime Error 1ms 224.0 KiB
#4 Runtime Error 1ms 228.0 KiB
#5 Runtime Error 1ms 224.0 KiB
#6 Runtime Error 1ms 228.0 KiB
#7 Runtime Error 1ms 220.0 KiB
#8 Runtime Error 1ms 224.0 KiB
#9 Runtime Error 1ms 224.0 KiB
#10 Runtime Error 1ms 228.0 KiB

信息

递交者
类型
递交
题目
P2024 无向图最短路径
语言
C++
递交时间
2019-08-20 14:02:59
评测时间
2019-08-20 14:02:59
评测机
分数
0
总耗时
14ms
峰值内存
228.0 KiB