ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1820. Ural Steaks

Why 3 is answer for 3 2?
Posted by Vitalii Arbuzov 19 Mar 2011 13:08
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?
Posted by Kacper Kaskow 19 Mar 2011 15:45
i do not understand that neither
:'(
Re: Why 3 is answer for 3 2?
Posted by daftcoder [Yaroslavl SU] 19 Mar 2011 16:54
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...