记录详情

Runtime Error

foo.cc: In function 'long long int read(T&)':
foo.cc:18:1: warning: no return statement in function returning non-void [-Wreturn-type]
   18 | }void write(RE x){if (x>9) write(x/10);
      | ^
foo.cc: In function 'void floyd()':
foo.cc:48:20: warning: operation on 'v' may be undefined [-Wsequence-point]
   48 |             d1[i][v=e1[j].v]=min(d1[i][v],work(j,e1[fi].d));
      |                   ~^~~~~~~~
foo.cc:53:30: warning: operation on 'v' may be undefined [-Wsequence-point]
   53 |             if (j^fi) d2[i][v=e1[j].v]=min(d2[i][v],work(j,f-e1[fi].d));
      |                             ~^~~~~~~~
In file included from /nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/string:50,
                 from /nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/bits/locale_classes.h:40,
                 from /nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/bits/ios_base.h:41,
                 from /nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/ios:42,
                 from /nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/istream:38,
                 from /nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/sstream:38,
                 from /nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/complex:45,
                 from /nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/ccomplex:39,
                 from stdc++.h:54:
In function 'const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = long long int]',
    inlined from 'void floyd()' at foo.cc:53:43:
/nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/bits/stl_algobase.h:235:15: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
  235 |       if (__b < __a)
      |           ~~~~^~~~~
foo.cc: In function 'void floyd()':
foo.cc:52:17: note: 'v' was declared here
   52 |         for (RE v,j=head1[i];j;j=e1[j].next)
      |                 ^
In function 'const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = long long int]',
    inlined from 'void floyd()' at foo.cc:48:33:
/nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/bits/stl_algobase.h:235:15: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
  235 |       if (__b < __a)
      |           ~~~~^~~~~
foo.cc: In function 'void floyd()':
foo.cc:47:17: note: 'v' was declared here
   47 |         for (RE v,j=head1[i];j;j=e1[j].next)
      |                 ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Aborted 4ms 460.0 KiB
#2 Runtime Error Aborted 5ms 412.0 KiB
#3 Runtime Error Aborted 5ms 412.0 KiB
#4 Runtime Error Aborted 4ms 412.0 KiB
#5 Runtime Error Aborted 4ms 412.0 KiB
#6 Runtime Error Aborted 3ms 412.0 KiB
#7 Runtime Error Aborted 4ms 412.0 KiB
#8 Runtime Error Aborted 4ms 412.0 KiB
#9 Runtime Error Aborted 4ms 412.0 KiB
#10 Runtime Error Aborted 5ms 412.0 KiB
#11 Runtime Error Aborted 5ms 412.0 KiB
#12 Runtime Error Aborted 3ms 412.0 KiB
#13 Runtime Error Aborted 5ms 412.0 KiB
#14 Runtime Error Aborted 4ms 412.0 KiB
#15 Runtime Error Aborted 4ms 412.0 KiB
#16 Runtime Error Aborted 4ms 412.0 KiB
#17 Runtime Error Aborted 4ms 412.0 KiB
#18 Runtime Error Aborted 4ms 412.0 KiB
#19 Runtime Error Aborted 4ms 412.0 KiB
#20 Runtime Error Aborted 4ms 412.0 KiB
#21 Runtime Error Aborted 4ms 412.0 KiB
#22 Runtime Error Aborted 4ms 412.0 KiB
#23 Runtime Error Aborted 5ms 412.0 KiB
#24 Runtime Error Aborted 4ms 412.0 KiB
#25 Runtime Error Aborted 4ms 412.0 KiB
#26 Runtime Error Aborted 5ms 412.0 KiB
#27 Runtime Error Aborted 4ms 412.0 KiB
#28 Runtime Error Aborted 3ms 412.0 KiB
#29 Runtime Error Aborted 4ms 412.0 KiB
#30 Runtime Error Aborted 5ms 412.0 KiB
#31 Runtime Error Aborted 4ms 412.0 KiB
#32 Runtime Error Aborted 4ms 412.0 KiB
#33 Runtime Error Aborted 3ms 412.0 KiB
#34 Runtime Error Aborted 3ms 412.0 KiB
#35 Runtime Error Aborted 4ms 412.0 KiB
#36 Runtime Error Aborted 4ms 412.0 KiB
#37 Runtime Error Aborted 5ms 460.0 KiB
#38 Runtime Error Aborted 4ms 412.0 KiB
#39 Runtime Error Aborted 4ms 412.0 KiB
#40 Runtime Error Aborted 5ms 412.0 KiB
#41 Runtime Error Aborted 4ms 412.0 KiB
#42 Runtime Error Aborted 5ms 412.0 KiB
#43 Runtime Error Aborted 5ms 412.0 KiB
#44 Runtime Error Aborted 4ms 412.0 KiB
#45 Runtime Error Aborted 4ms 412.0 KiB
#46 Runtime Error Aborted 5ms 412.0 KiB
#47 Runtime Error Aborted 4ms 412.0 KiB
#48 Runtime Error Aborted 5ms 412.0 KiB
#49 Runtime Error Aborted 4ms 412.0 KiB
#50 Runtime Error Aborted 4ms 412.0 KiB

信息

递交者
类型
递交
题目
3、运货
题目数据
下载
语言
C++
递交时间
2023-11-02 20:14:56
评测时间
2023-11-02 20:14:56
评测机
分数
0
总耗时
231ms
峰值内存
460.0 KiB