运行 ID: 12361

Main.cc: In function ‘int move(int, char, char, char)’:
Main.cc:12:13: error: expression cannot be used as a function
   12 |   move(2(n-1),a,b,c);
      |             ^
Main.cc:14:13: error: expression cannot be used as a function
   14 |   move(2(n-1),b,a,c);
      |             ^
Main.cc:13:7: warning: control reaches end of non-void function [-Wreturn-type]
   13 |   temp++;
      |   ~~~~^~