0_0_38278961_5740\Main.java:1: 错误: 需要class, interface或enum
void Hanoi(char from,char mid,char to,int n){
^
0_0_38278961_5740\Main.java:1: 错误: 需要class, interface或enum
void Hanoi(char from,char mid,char to,int n){
^
0_0_38278961_5740\Main.java:4: 错误: 需要class, interface或enum
return ;
^
0_0_38278961_5740\Main.java:5: 错误: 需要class, interface或enum
}
^
0_0_38278961_5740\Main.java:9: 错误: 需要class, interface或enum
printf("%c->%c\n",from,to);
^
0_0_38278961_5740\Main.java:11: 错误: 需要class, interface或enum
Hanoi(mid,from,to,n-1);
^
0_0_38278961_5740\Main.java:12: 错误: 需要class, interface或enum
}
^
7 个错误
|