Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/E869120/math-algorithm-book
/ main
Function
main
codes/cpp/Code_3_06_5.cpp:14–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
}
13
14
int main() {
15
// 入力
16
cin >> N;
17
for (int i = 1; i <= N; i++) cin >> A[i];
18
19
// 再帰呼び出し → 答えの出力
20
int Answer = solve(1, N + 1);
21
cout << Answer << endl;
22
return 0;
23
}
Callers
nothing calls this directly
Calls
1
solve
Function · 0.70
Tested by
no test coverage detected