Problem | lis_easy |
---|---|
User | zach24 |
Submission Time | 2023-07-30 01:33:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:15:16: error: ‘arr’ was not declared in this scope
15 | cin >> arr[i];
| ^~~
lis_easy.cpp:21:17: error: ‘arr’ was not declared in this scope
21 | if (arr[i] > arr[j]) {
| ^~~
lis_easy.cpp:22:17: error: ‘dp’ was not declared in this scope
22 | dp[i] = max(dp[i], dp[j]+1);
| ^~
lis_easy.cpp:25:24: error: ‘dp’ was not declared in this scope
25 | ans = max(ans, dp[i]);
| ^~