/ 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 576.0 KiB
#2 Accepted 4ms 532.0 KiB
#3 Accepted 4ms 512.0 KiB
#4 Accepted 26ms 1.348 MiB
#5 Accepted 25ms 1.375 MiB
#6 Accepted 27ms 1.289 MiB
#7 Accepted 27ms 1.32 MiB
#8 Accepted 26ms 1.328 MiB
#9 Accepted 26ms 1.371 MiB
#10 Accepted 25ms 1.328 MiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2021-08-08 21:36:22
评测时间
2021-08-08 21:36:22
评测机
分数
100
总耗时
198ms
峰值内存
1.375 MiB