/ Vijos /

记录详情

Runtime Error

foo.cc:4:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
foo.cc: In function 'int main()':
foo.cc:10:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   cin>>x; for(int i=1;i<=x;++i)scanf("%d",&a[i]);
                                ~~~~~^~~~~~~~~~~~
foo.cc:11:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   cin>>y; for(int i=1;i<=y;++i)scanf("%d",&b[i]);
                                ~~~~~^~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 6, expect 246. 71ms 1.367 MiB
#2 Runtime Error Segmentation fault 4ms 1.344 MiB
#3 Runtime Error Segmentation fault 3ms 364.0 KiB
#4 Runtime Error Segmentation fault 2ms 392.0 KiB
#5 Runtime Error Segmentation fault 2ms 428.0 KiB
#6 Runtime Error Segmentation fault 2ms 384.0 KiB
#7 Runtime Error Segmentation fault 1ms 360.0 KiB
#8 Runtime Error Segmentation fault 2ms 1.375 MiB
#9 Runtime Error Segmentation fault 2ms 416.0 KiB
#10 Runtime Error Segmentation fault 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1589 笨笨的西瓜种植
语言
C++
递交时间
2021-03-07 14:59:22
评测时间
2021-03-07 14:59:22
评测机
分数
0
总耗时
94ms
峰值内存
1.375 MiB