Main.cc: In function ‘int bg(int, int)’:
Main.cc:10:27: error: ‘n1’ was not declared in this scope
if ( s < 0 || ( s > 0 && n1 < 1 ) )
^~
Main.cc:10:27: note: suggested alternative: ‘n’
if ( s < 0 || ( s > 0 && n1 < 1 ) )
^~
n
Main.cc:14:19: error: ‘n1’ was not declared in this scope
if ( bg ( s - w [n1] , n1 - 1 ) )
^~
Main.cc:14:19: note: suggested alternative: ‘n’
if ( bg ( s - w [n1] , n1 - 1 ) )
^~
n
Main.cc:19:18: error: ‘n1’ was not declared in this scope
return bg ( s , n1 - 1 ) ;
^~
Main.cc:19:18: note: suggested alternative: ‘n’
return bg ( s , n1 - 1 ) ;
^~
n