Problem | watching |
---|---|
User | wrizz69 |
Submission Time | 2024-12-11 14:56:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
watching.cpp: In function ‘long long int check_if_possible(long long int)’:
watching.cpp:39:55: error: ‘last_uncovered’ was not declared in this scope; did you mean ‘last_covered’?
39 | dp[i][j][k] = max(dp[i][j][k], dp[last_uncovered][j - 1][k]);
| ^~~~~~~~~~~~~~
| last_covered
watching.cpp: In function ‘int32_t main()’:
watching.cpp:56:12: error: ‘check’ was not declared in this scope
56 | if(check(mid)) {
| ^~~~~