| 41 | } |
| 42 | } |
| 43 | int main() { |
| 44 | int n; |
| 45 | cin >> n ; |
| 46 | memset(dp, -1, sizeof dp); |
| 47 | vector<int> v(n+1); |
| 48 | for(int i = 1; i <= n; i++) |
| 49 | cin>>v[i]; |
| 50 | preprocess(v,n); |
| 51 | cout<<solve(v, 1, n); |
| 52 | return 0; |
| 53 | } |
nothing calls this directly
no test coverage detected