代码
#include <iostream> using namespace std; int main (){ int n,k; cin >> n >> k; if(n >= k) n = n / k + n; cout << n; return 0; }