/ 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 10ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 4ms 512.0 KiB
#4 Accepted 43ms 384.0 KiB
#5 Accepted 46ms 384.0 KiB
#6 Accepted 29ms 384.0 KiB
#7 Accepted 30ms 384.0 KiB
#8 Accepted 28ms 384.0 KiB
#9 Accepted 28ms 384.0 KiB
#10 Accepted 29ms 384.0 KiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2021-12-15 20:37:41
评测时间
2021-12-15 20:37:41
评测机
分数
100
总耗时
256ms
峰值内存
512.0 KiB