|
|
back to boardWhy 3 is answer for 3 2? 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? Re: Why 3 is answer for 3 2? i do not understand that neither :'( Re: Why 3 is answer for 3 2? X first time Y second time 1min XX 2min XY 3min YY Re: Why 3 is answer for 3 2? Posted by Arman 12 Jul 2011 17:18 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... |
|
|