MCPcopy Create free account
hub / github.com/E869120/math-algorithm-book / Code_3_06_5.py

File Code_3_06_5.py

codes/python/Code_3_06_5.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def solve(l, r, A):
2 if r - l == 1:
3 return A[l]
4 m = (l + r) // 2 # 区間 [l, r) の中央で分割する

Callers

nothing calls this directly

Calls 1

solveFunction · 0.70

Tested by

no test coverage detected