/ Vijos /

记录详情

Accepted

foo.cc: In function 'void init()':
foo.cc:18:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |     scanf("%d%d%d%d",&L,&s,&t,&n);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:20:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 |         scanf("%d",&stone[i]);
      |         ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 7ms 4.625 MiB
#2 Accepted 6ms 4.625 MiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 5ms 4.621 MiB
#5 Accepted 5ms 4.625 MiB
#6 Accepted 5ms 4.5 MiB
#7 Accepted 5ms 4.5 MiB
#8 Accepted 5ms 4.625 MiB
#9 Accepted 6ms 4.625 MiB
#10 Accepted 2ms 376.0 KiB

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2022-07-16 10:06:35
评测时间
2022-07-16 10:06:35
评测机
分数
100
总耗时
53ms
峰值内存
4.625 MiB