/ 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]
     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]
         scanf(" %c",&c);
         ~~~~~^~~~~~~~~~
foo.cc:23:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d",&m);
             ~~~~~^~~~~~~~~
foo.cc:31:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             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]
             scanf("%d%d",&m,&p);
             ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 560.0 KiB
#2 Accepted 4ms 548.0 KiB
#3 Accepted 4ms 548.0 KiB
#4 Accepted 27ms 1.34 MiB
#5 Accepted 29ms 1.301 MiB
#6 Accepted 29ms 1.305 MiB
#7 Accepted 28ms 1.324 MiB
#8 Accepted 28ms 1.301 MiB
#9 Accepted 28ms 1.363 MiB
#10 Accepted 27ms 1.27 MiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2021-07-18 16:56:38
评测时间
2021-07-18 16:56:38
评测机
分数
100
总耗时
212ms
峰值内存
1.363 MiB