|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияAs far as I understand we should do 2 stakes in 2 minutes. After that 1 stake in 2 minutes. So answer in example should be 4. Why 3? i do not understand that neither :'( X first time Y second time 1min XX 2min XY 3min YY I think 2*n/k, int main(int argc, char* argv[]) { int n, k; cin>>n; cin>>k; cout<<n*2/k<<endl; return 0; } but it's WA... |
|
|