/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
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%d%d",&n,&m,&q,&u,&v,&t);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:20:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 |     for(int i=1;i<=n;i++) scanf("%d",&a[i]);
      |                           ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 52ms 1.367 MiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 4ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 42ms 1.992 MiB
#9 Accepted 40ms 2.492 MiB
#10 Accepted 109ms 17.242 MiB
#11 Accepted 127ms 20.992 MiB
#12 Accepted 136ms 28.742 MiB
#13 Accepted 270ms 40.242 MiB
#14 Accepted 258ms 55.617 MiB
#15 Accepted 59ms 2.242 MiB
#16 Accepted 69ms 3.242 MiB
#17 Accepted 57ms 2.367 MiB
#18 Accepted 71ms 4.492 MiB
#19 Accepted 142ms 29.367 MiB
#20 Accepted 245ms 56.117 MiB

信息

递交者
类型
递交
题目
P2007 蚯蚓
语言
C++
递交时间
2022-08-09 16:40:17
评测时间
2022-08-09 17:00:41
评测机
分数
100
总耗时
1702ms
峰值内存
56.117 MiB