Problem | watching |
---|---|
User | Henries |
Submission Time | 2025-01-01 13:52:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
watching.cpp: In function ‘bool check(long long int)’:
watching.cpp:2:5: error: ‘vector’ was not declared in this scope
2 | vector<vector<long long>> dp(n + 1, vector<long long>(p + 1, LLONG_MAX));
| ^~~~~~
watching.cpp:2:19: error: expected primary-expression before ‘long’
2 | vector<vector<long long>> dp(n + 1, vector<long long>(p + 1, LLONG_MAX));
| ^~~~
watching.cpp:4:26: error: ‘p’ was not declared in this scope
4 | for (int j = 0; j <= p; j++) {
| ^
watching.cpp:5:9: error: ‘dp’ was not declared in this scope
5 | dp[0][j] = 0;
| ^~
watching.cpp:8:26: error: ‘n’ was not declared in this scope
8 | for (int i = 1; i <= n; i++) {
| ^
watching.cpp:9:30: error: ‘p’ was not declared in this scope
9 | for (int j = 0; j <= p; j++)