/ Vijos /

记录详情

Runtime Error

foo.cc:12:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
foo.cc: In function 'int main()':
foo.cc:33:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<a.size();j++)
               ~^~~~~~~~~
foo.cc:54:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=t;i<=m;i+=t)cout<<leng[i]<<' ';cout<<endl;
  ^~~
foo.cc:54:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int i=t;i<=m;i+=t)cout<<leng[i]<<' ';cout<<endl;
                                           ^~~~
foo.cc:55:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=m+n-1;i>=t-1;i-=t)cout<<a[i]<<' ';cout<<endl;
  ^~~
foo.cc:55:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int i=m+n-1;i>=t-1;i-=t)cout<<a[i]<<' ';cout<<endl;
                                              ^~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 428.0 KiB
#3 Accepted 53ms 1.629 MiB
#4 Runtime Error Segmentation fault 2ms 384.0 KiB
#5 Runtime Error Segmentation fault 7ms 444.0 KiB
#6 Runtime Error Segmentation fault 2ms 440.0 KiB
#7 Runtime Error Segmentation fault 8ms 440.0 KiB
#8 Runtime Error Segmentation fault 336ms 1.125 MiB
#9 Runtime Error Segmentation fault 699ms 1.547 MiB
#10 Runtime Error Segmentation fault 706ms 1.547 MiB
#11 Runtime Error Segmentation fault 726ms 1.617 MiB
#12 Runtime Error Segmentation fault 724ms 1.746 MiB
#13 Runtime Error Segmentation fault 686ms 1.734 MiB
#14 Runtime Error Segmentation fault 718ms 1.723 MiB
#15 Runtime Error Segmentation fault 339ms 1.113 MiB
#16 Runtime Error Segmentation fault 335ms 1.133 MiB
#17 Time Exceeded ≥1088ms ≥1.727 MiB
#18 Runtime Error Segmentation fault 676ms 1.738 MiB
#19 Runtime Error Segmentation fault 355ms 1.734 MiB
#20 Runtime Error Segmentation fault 663ms 1.789 MiB

信息

递交者
类型
递交
题目
P2007 蚯蚓
语言
C++
递交时间
2021-03-24 21:02:04
评测时间
2021-03-24 21:02:04
评测机
分数
15
总耗时
8136ms
峰值内存
1.789 MiB