/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:8: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:11:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf(" %c",&c);
         ~~~~~^~~~~~~~~~
foo.cc:14:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d",&m);
             ~~~~~^~~~~~~~~
foo.cc:22: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:29:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d%d",&m,&p);
             ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 4ms 444.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 25ms 436.0 KiB
#5 Accepted 25ms 460.0 KiB
#6 Accepted 25ms 464.0 KiB
#7 Accepted 24ms 472.0 KiB
#8 Accepted 25ms 436.0 KiB
#9 Accepted 25ms 472.0 KiB
#10 Accepted 24ms 492.0 KiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2020-12-02 09:29:27
评测时间
2020-12-02 09:29:27
评测机
分数
100
总耗时
188ms
峰值内存
492.0 KiB