运行 ID: 105651

Main.cc: In function ‘int a(int, int)’:
Main.cc:5:10: error: ‘m’ was not declared in this scope
  if(c == m) return s == 1 ? 1 : 0;
          ^
Main.cc:6:15: error: ‘n’ was not declared in this scope
  return a(s % n + 1 , c + 1 ) + a(s != 1 ? s - 1 : n , c + 1);
               ^
Main.cc: In function ‘int main()’:
Main.cc:12:10: error: ‘da’ was not declared in this scope
  cout << da(1 , 0);
          ^~
Main.cc:12:10: note: suggested alternative: ‘a’
  cout << da(1 , 0);
          ^~
          a