mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
14 lines
228 B
Python
14 lines
228 B
Python
def problem_p03679(input_data):
|
|
x, a, b = list(map(int, input_data.split()))
|
|
|
|
if b - a <= x and b - a <= 0:
|
|
|
|
return "delicious"
|
|
|
|
elif b - a <= x:
|
|
|
|
return "safe"
|
|
|
|
else:
|
|
|
|
return "dangerous"
|