/ 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 10ms 492.0 KiB
#4 Runtime Error Segmentation fault 5ms 784.0 KiB
#5 Runtime Error Segmentation fault 31ms 3.789 MiB
#6 Runtime Error Segmentation fault 32ms 3.785 MiB
#7 Runtime Error Segmentation fault 34ms 3.781 MiB

信息

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