/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:34:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   34 |  scanf("%d\n%d\n", &n,&m);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:37:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   37 |   scanf("%d %d %s\n", &q[i].x, &q[i].y, q[i].s);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Runtime Error Segmentation fault 63ms 9.992 MiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 5ms 640.0 KiB
#7 Runtime Error Segmentation fault 92ms 9.992 MiB
#8 Accepted 5ms 384.0 KiB
#9 Accepted 7ms 896.0 KiB
#10 Runtime Error Segmentation fault 74ms 9.992 MiB

信息

递交者
类型
递交
题目
P1112 小胖的奇偶
语言
C++
递交时间
2022-06-05 17:28:45
评测时间
2022-06-05 17:28:45
评测机
分数
70
总耗时
263ms
峰值内存
9.992 MiB