Run id: 118688
Main.cc:30:3: error: stray '#' in program
} #include
^
Main.cc: In function 'int main()':
Main.cc:22:13: error: too few arguments to function 'int sushu(int, int)'
if(sushu(s)==1&&i!=a){
^
Main.cc:4:5: note: declared here
int sushu(int n,int m){
^
Main.cc: At global scope:
Main.cc:30:4: error: 'include' does not name a type
} #include
^
Main.cc:32:6: error: redefinition of 'bool s'
bool s=0;
^
Main.cc:3:6: note: 'bool s' previously defined here
bool s=0;
^
Main.cc: In function 'int sushu(int, int)':
Main.cc:33:5: error: redefinition of 'int sushu(int, int)'
int sushu(int n,int m){
^
Main.cc:4:5: note: 'int sushu(int, int)' previously defined here
int sushu(int n,int m){
^
Main.cc: In function 'int main()':
Main.cc:48:5: error: redefinition of 'int main()'
int main(){
^
Main.cc:19:5: note: 'int main()' previously defined here
int main(){
^
Main.cc:51:13: error: too few arguments to function 'int sushu(int, int)'
if(sushu(s)==1&&i!=a){
^
Main.cc:4:5: note: declared here
int sushu(int n,int m){
^
Main.cc: In function 'int sushu(int, int)':
Main.cc:17:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Main.cc: In function 'int sushu(int, int)':
Main.cc:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^