/ WHOJ /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:15:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   15 |  scanf("%d",&T);
      |  ~~~~~^~~~~~~~~
foo.cc:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   19 |   scanf("%d%lld%d",&n,&t,&k);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:21:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |    scanf("%d",&a[i].place);
      |    ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:23:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |    scanf("%d",&a[i].value);
      |    ~~~~~^~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 4ms 512.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Runtime Error Segmentation fault 3ms 640.0 KiB
#4 Accepted 6ms 384.0 KiB
#5 Runtime Error Segmentation fault 4ms 384.0 KiB
#6 Runtime Error Segmentation fault 5ms 512.0 KiB
#7 Accepted 321ms 3.367 MiB
#8 Runtime Error Segmentation fault 9ms 384.0 KiB
#9 Accepted 6ms 384.0 KiB
#10 Runtime Error Segmentation fault 4ms 456.0 KiB

信息

递交者
类型
递交
题目
P1423 宝石(文件IO)
题目数据
下载
语言
C++
递交时间
2022-07-29 13:55:07
评测时间
2022-07-29 13:56:33
评测机
分数
40
总耗时
367ms
峰值内存
3.367 MiB