/ 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 4ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 6ms 384.0 KiB
#4 Runtime Error Segmentation fault 60ms 9.93 MiB
#5 Accepted 4ms 384.0 KiB
#6 Accepted 7ms 512.0 KiB
#7 Runtime Error Segmentation fault 53ms 9.996 MiB
#8 Accepted 5ms 384.0 KiB
#9 Accepted 9ms 768.0 KiB
#10 Runtime Error Segmentation fault 69ms 9.992 MiB

信息

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