/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:9:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 |     scanf("%d%d",&n,&k);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:12:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   12 |         scanf(" %c",&c);
      |         ~~~~~^~~~~~~~~~
foo.cc:15:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   15 |             scanf("%d",&m);
      |             ~~~~~^~~~~~~~~
foo.cc:23:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |             scanf("%d%d",&m,&p);
      |             ~~~~~^~~~~~~~~~~~~~
foo.cc:30:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   30 |             scanf("%d%d",&m,&p);
      |             ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 6ms 384.0 KiB
#4 Accepted 31ms 760.0 KiB
#5 Accepted 33ms 640.0 KiB
#6 Accepted 31ms 652.0 KiB
#7 Accepted 31ms 760.0 KiB
#8 Accepted 34ms 632.0 KiB
#9 Accepted 39ms 640.0 KiB
#10 Accepted 50ms 760.0 KiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2022-05-12 21:57:25
评测时间
2022-05-12 21:57:25
评测机
分数
100
总耗时
269ms
峰值内存
760.0 KiB