mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
6 lines
159 B
Python
6 lines
159 B
Python
def problem_p01741(input_data):
|
|
import math
|
|
|
|
n = float(eval(input_data))
|
|
|
|
return int(n) + 1 if n * math.sqrt(2) < int(n) + 1 else n * math.sqrt(2)
|