记录详情

Compile Error

/in/foo.cc:28:2: error: stray '#' in program
 }#include<iostream>
  ^
/in/foo.cc:28:3: error: 'include' does not name a type
 }#include<iostream>
   ^~~~~~~
/in/foo.cc: In function 'void move(char, char)':
/in/foo.cc:36:6: error: redefinition of 'void move(char, char)'
 void move(char a,char b){
      ^~~~
/in/foo.cc:9:6: note: 'void move(char, char)' previously defined here
 void move(char a,char b){
      ^~~~
/in/foo.cc: In function 'void f(int, char, char, char)':
/in/foo.cc:40:6: error: redefinition of 'void f(int, char, char, char)'
 void f(int n,char a,char b,char c){
      ^
/in/foo.cc:13:6: note: 'void f(int, char, char, char)' previously defined here
 void f(int n,char a,char b,char c){
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:5: error: redefinition of 'int main()'
 int main(){
     ^~~~
/in/foo.cc:23:5: note: 'int main()' previously defined here
 int main(){
     ^~~~

信息

递交者
类型
递交
题目
汉诺塔
语言
C++
递交时间
2018-10-28 12:56:23
评测时间
2018-10-28 12:56:23
评测机
分数
0
总耗时
337ms
峰值内存
37.066 MiB