/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:33:5: warning: implicit declaration of function 'Hanoi' [-Wimplicit-function-declaration]
     Hanoi(0,1,1,k);
     ^~~~~
/in/foo.c:34:29: error: 'count' undeclared (first use in this function)
     printf("共移动%d次",count);
                             ^~~~~
/in/foo.c:34:29: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c: At top level:
/in/foo.c:44:5: error: redefinition of 'main'
 int main()
     ^~~~
/in/foo.c:29:5: note: previous definition of 'main' was here
 int main()
     ^~~~

信息

递交者
类型
递交
题目
P1354 Hanoi双塔问题
语言
C
递交时间
2019-03-02 11:47:53
评测时间
2019-03-02 11:47:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes