ENG
RUS
Timus 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
WA 33. What is this wrong?
Posted by
Vsevolod
23 Jun 2022 08:57
a,b=map(int, input().split())
if a==1:
print(2)
exit()
if (a*2)//b<a*2/b:
print(a*2//b+1)
else:
print(a*2//b)
© 2000–2024
Timus Online Judge Team
. All rights reserved.