/ 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 2ms 256.0 KiB
#2 Wrong Answer 0a1,5021 > 26923 > 26923 > 9 2ms 256.0 KiB
#3 Wrong Answer 0a1,5009 > 0 > 0 > 18291 > 2ms 256.0 KiB
#4 Wrong Answer 0a1,50001 > 0 > 5553 > 54961 20ms 384.0 KiB
#5 Wrong Answer 0a1,50034 > 0 > 69026 > 6911 21ms 384.0 KiB
#6 Wrong Answer 0a1,50329 > 0 > 0 > 0 > 687 22ms 384.0 KiB
#7 Wrong Answer 0a1,49913 > 0 > 0 > 0 > 0 20ms 384.0 KiB
#8 Wrong Answer 0a1,49894 > 0 > 86281 > 8335 19ms 384.0 KiB
#9 Wrong Answer 0a1,49946 > 0 > 0 > 0 > 0 23ms 384.0 KiB
#10 Wrong Answer 0a1,50252 > 0 > 0 > 4505 > 23ms 384.0 KiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2021-07-29 11:16:56
评测时间
2021-07-29 11:16:56
评测机
分数
0
总耗时
157ms
峰值内存
384.0 KiB