记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:19: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%ld",&x);
                 ~~^
foo.cc:5:16: warning: unused variable 't' [-Wunused-variable]
  long long i,n,t=0;
                ^
foo.cc:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%ld",&x);
     ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 23, expect 2. 1ms 384.0 KiB
#2 Wrong Answer Read 27, expect 4. 1ms 384.0 KiB
#3 Wrong Answer Read 23, expect 2. 2ms 384.0 KiB
#4 Wrong Answer Read 21, expect 1. 2ms 384.0 KiB
#5 Wrong Answer Read 210, expect 5. 2ms 384.0 KiB
#6 Wrong Answer Read 28, expect 4. 1ms 384.0 KiB
#7 Wrong Answer Read 22, expect 1. 1ms 384.0 KiB
#8 Wrong Answer Read 25, expect 3. 1ms 384.0 KiB
#9 Wrong Answer Read 5504, expect 5. 1ms 384.0 KiB
#10 Wrong Answer Read 2181, expect 91. 1ms 384.0 KiB
#11 Wrong Answer Read 597, expect 5. 1ms 384.0 KiB
#12 Wrong Answer Read 3780, expect 130. 1ms 384.0 KiB
#13 Wrong Answer Read 5226, expect 8. 1ms 384.0 KiB
#14 Wrong Answer Read 5535, expect 8. 1ms 384.0 KiB
#15 Wrong Answer Read 2139, expect 70. 1ms 384.0 KiB
#16 Wrong Answer Read 4262, expect 15. 1ms 384.0 KiB
#17 Wrong Answer Read 1355167, expect 355167. 2ms 384.0 KiB
#18 Wrong Answer Read 64861454, expect 23. 2ms 384.0 KiB
#19 Wrong Answer Read 38327083, expect 22. 2ms 384.0 KiB
#20 Wrong Answer Read 67727196, expect 16. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1275 投币
语言
C++
递交时间
2021-08-18 18:37:13
评测时间
2021-08-18 18:37:13
评测机
分数
0
总耗时
39ms
峰值内存
384.0 KiB