运行 ID: 141318

Main.cc: In function ‘int main()’:
Main.cc:37:21: error: ‘k’ was not declared in this scope
   mn = min ( n - f [k] - g [k] + 1 , mn ) ;
                     ^