mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
10 lines
183 B
Python
10 lines
183 B
Python
def problem_p03548(input_data):
|
|
X, Y, Z = list(map(int, input_data.split()))
|
|
|
|
for n in range(10**5, 0, -1):
|
|
|
|
if X >= n * (Y + Z) + Z:
|
|
|
|
break
|
|
|
|
return n
|