/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:46:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
             printf("%d\n",query(l));
                           ~~~~~~~~^
foo.cc:35: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:41:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%c",&p);
         ~~~~~^~~~~~~~~
foo.cc:44:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d",&l);
             ~~~~~^~~~~~~~~
foo.cc:50:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d%d",&l,&r);
             ~~~~~^~~~~~~~~~~~~~
foo.cc:56:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d%d",&l,&r);
             ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,5024 > 20945 > 20945 > 7 3ms 452.0 KiB
#2 Wrong Answer 0a1,5021 > 26923 > 26923 > 9 4ms 424.0 KiB
#3 Wrong Answer 0a1,5009 > 0 > 0 > 18291 > 2ms 428.0 KiB
#4 Wrong Answer 0a1,50001 > 0 > 5553 > 54961 22ms 1020.0 KiB
#5 Wrong Answer 0a1,50034 > 0 > 69026 > 6911 25ms 1.023 MiB
#6 Wrong Answer 0a1,50329 > 0 > 0 > 0 > 687 20ms 1.0 MiB
#7 Wrong Answer 0a1,49913 > 0 > 0 > 0 > 0 20ms 1.023 MiB
#8 Wrong Answer 0a1,49894 > 0 > 86281 > 8335 20ms 1.0 MiB
#9 Wrong Answer 0a1,49946 > 0 > 0 > 0 > 0 24ms 1020.0 KiB
#10 Wrong Answer 0a1,50252 > 0 > 0 > 4505 > 19ms 1.0 MiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2021-07-29 11:15:01
评测时间
2021-07-29 11:15:01
评测机
分数
0
总耗时
163ms
峰值内存
1.023 MiB