/ 答案 /

记录详情

Accepted

foo.cc: In function 'void dts::main()':
foo.cc:80:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&n);
         ~~~~~^~~~~~~~~
foo.cc:82:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d",&a[i]);
             ~~~~~^~~~~~~~~~~~
foo.cc:84:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&m);
         ~~~~~^~~~~~~~~
foo.cc:88:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d%d%d",&K,&l,&r);
             ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:92:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
                 scanf("%d",&val);
                 ~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 48ms 1.641 MiB
#2 Accepted 63ms 3.016 MiB
#3 Accepted 35ms 5.637 MiB
#4 Accepted 12ms 2.914 MiB
#5 Accepted 68ms 5.602 MiB
#6 Accepted 57ms 2.703 MiB
#7 Accepted 56ms 2.969 MiB
#8 Accepted 59ms 2.984 MiB
#9 Accepted 59ms 1.0 MiB
#10 Accepted 83ms 2.996 MiB

信息

递交者
类型
递交
题目
P1013 河蟹王国
语言
C++
递交时间
2021-11-28 15:32:58
评测时间
2021-11-29 20:38:26
评测机
分数
100
总耗时
544ms
峰值内存
5.637 MiB