/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:35:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&n);
     ~~~~~^~~~~~~~~
foo.cc:36:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(int i=1;i<=n;i++)scanf("%d%d",&p[i].x,&p[i].y);
                          ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Wrong Answer Read 88, expect 9. 0ms 256.0 KiB
#3 Wrong Answer Read 908, expect 5. 1ms 256.0 KiB
#4 Wrong Answer Read 909, expect 8. 1ms 256.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 0ms 256.0 KiB
#7 Runtime Error Segmentation fault 1ms 280.0 KiB
#8 Wrong Answer Read 98, expect 5. 0ms 256.0 KiB
#9 Wrong Answer Read 10, expect 4. 0ms 256.0 KiB
#10 Wrong Answer Read 149, expect 4. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1066 弱弱的战壕
语言
C++
递交时间
2021-09-19 17:16:18
评测时间
2021-09-19 17:16:18
评测机
分数
30
总耗时
13ms
峰值内存
384.0 KiB