Main.cc: In function 'int jc(int)':
Main.cc:12:11: error: a function-definition is not allowed here before '{' token
int main(){
^
Main.cc:19:1: error: expected '}' at end of input
}
^
Main.cc:19:1: warning: no return statement in function returning non-void [-Wreturn-type]