/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 |     scanf("%d%d%d%d", &l, &s, &t, &m);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:14:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 |     For(i, 1, m) scanf("%d", &a[i]);
      |                  ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 1.25 MiB
#2 Accepted 6ms 1.25 MiB
#3 Accepted 4ms 1.25 MiB
#4 Accepted 8ms 1.5 MiB
#5 Accepted 5ms 1.375 MiB
#6 Accepted 6ms 1.375 MiB
#7 Accepted 5ms 1.375 MiB
#8 Accepted 12ms 1.375 MiB
#9 Accepted 5ms 1.375 MiB
#10 Accepted 4ms 1.375 MiB

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2022-08-08 09:52:42
评测时间
2022-08-08 09:52:42
评测机
分数
100
总耗时
65ms
峰值内存
1.5 MiB