/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:20:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d %d %d",&L,&s,&t,&n);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:21:5: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(int i=1;i<=n;scanf("%d",&stone[i]), i++);
     ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 4.426 MiB
#2 Accepted 4ms 4.484 MiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 4ms 4.492 MiB
#5 Accepted 4ms 4.41 MiB
#6 Accepted 4ms 4.43 MiB
#7 Accepted 4ms 4.5 MiB
#8 Accepted 4ms 4.5 MiB
#9 Accepted 4ms 4.508 MiB
#10 Accepted 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2021-11-12 08:18:43
评测时间
2021-11-12 08:18:43
评测机
分数
100
总耗时
35ms
峰值内存
4.508 MiB