我的代码:
int n,k; cin>>n>>k; if(n/k>=k){ cout<<n+n/k+1; return 0; }else{ cout<<n+n/k; } return 0; }
帮帮我吧