/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'void spfa(long long int)':
foo.cc:41:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < G[u].size(); i++) {
                   ~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:55:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf ("%lld %lld %lld", &n, &m, &s);
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:57:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf ("%lld %lld %lld", &u, &v, &w);
   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Cancelled 0ms 0 Bytes
#2 Accepted 2ms 488.0 KiB
#3 Accepted 11ms 496.0 KiB
#4 Runtime Error Segmentation fault 4ms 948.0 KiB
#5 Runtime Error Segmentation fault 41ms 4.25 MiB
#6 Runtime Error Segmentation fault 42ms 4.312 MiB
#7 Runtime Error Segmentation fault 33ms 4.312 MiB

信息

递交者
类型
递交
题目
P1053 Easy sssp
语言
C++
递交时间
2021-03-19 18:41:28
评测时间
2021-03-19 18:41:28
评测机
分数
25
总耗时
135ms
峰值内存
4.312 MiB