Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:14: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
 scanf("%d",&n);
            ~~^
foo.cc:7:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
 printf("%d",An);
               ^
foo.cc:5:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&n);
 ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 510. 1ms 256.0 KiB
#2 Wrong Answer Read 0, expect 65534. 1ms 304.0 KiB
#3 Wrong Answer Read 0, expect 524286. 1ms 256.0 KiB
#4 Wrong Answer Read 0, expect 67108862. 1ms 256.0 KiB
#5 Wrong Answer Read 0, expect 2199023255550. 1ms 256.0 KiB
#6 Wrong Answer Read 0, expect 2305843009213693950. 0ms 256.0 KiB
#7 Wrong Answer Read 0, expect 2475880078570760.... 1ms 256.0 KiB
#8 Wrong Answer Read 0, expect 2854495385411919.... 1ms 256.0 KiB
#9 Wrong Answer Read 0, expect 3138550867693340.... 1ms 256.0 KiB
#10 Wrong Answer Read 0, expect 14. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1454 Hanoi双塔问题
语言
C++
递交时间
2021-08-16 09:42:55
评测时间
2021-08-16 09:42:55
评测机
分数
0
总耗时
10ms
峰值内存
304.0 KiB