/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:17:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   17 |     scanf("%d%d",&n,&k);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:20:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 |         scanf(" %c",&c);
      |         ~~~~~^~~~~~~~~~
foo.cc:23:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |             scanf("%d",&m);
      |             ~~~~~^~~~~~~~~
foo.cc:31:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   31 |             scanf("%d%d",&m,&p);
      |             ~~~~~^~~~~~~~~~~~~~
foo.cc:38:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   38 |             scanf("%d%d",&m,&p);
      |             ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 5ms 384.0 KiB
#4 Accepted 26ms 760.0 KiB
#5 Accepted 26ms 640.0 KiB
#6 Accepted 30ms 640.0 KiB
#7 Accepted 26ms 768.0 KiB
#8 Accepted 27ms 768.0 KiB
#9 Accepted 29ms 768.0 KiB
#10 Accepted 27ms 640.0 KiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2022-07-20 15:14:15
评测时间
2022-07-20 15:14:15
评测机
分数
100
总耗时
212ms
峰值内存
768.0 KiB