运行 ID: 105133

Main.cc: In function ‘int fib(int)’:
Main.cc:5:5: error: ‘n’ was not declared in this scope
  if(n<3) {
     ^
Main.cc:8:13: error: ‘n’ was not declared in this scope
  return fib(n-1)+fib(n+2)
             ^
Main.cc:10:1: error: expected ‘;’ before ‘}’ token
 }
 ^