Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
def
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
solve
Function · 0.70
Tested by
no test coverage detected