mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
10 lines
204 B
Python
10 lines
204 B
Python
def problem_p02818(input_data):
|
|
a, b, k = list(map(int, input_data.split()))
|
|
|
|
if a + b <= k:
|
|
|
|
return (0, 0)
|
|
|
|
else:
|
|
|
|
return (0 if a < k else a - k, b + (a - k) if a < k else b)
|