mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
6 lines
144 B
Python
6 lines
144 B
Python
def problem_p02970(input_data):
|
|
import numpy as np
|
|
|
|
N, D = list(map(int, input_data.split()))
|
|
|
|
return int(np.ceil(N / (2 * D + 1)))
|