运行 ID: 101763

Main.cc:4:17: error: ISO C++ forbids declaration of ‘turn’ with no type [-fpermissive]
 turn(int A,int B){
                 ^
Main.cc: In function ‘int turn(int, int)’:
Main.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^