Problem | lis |
---|---|
User | limmingyao21 |
Submission Time | 2023-01-23 22:34:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++. h>
| ^~~~~~~
lis.cpp: In function ‘int main()’:
lis.cpp:8:11: error: ‘cin’ was not declared in this scope
8 | ll n; cin >> n;
| ^~~
lis.cpp:9:5: error: ‘vector’ was not declared in this scope
9 | vector<ll> a(n), dp(n + 2, INF);
| ^~~~~~
lis.cpp:9:14: error: expected primary-expression before ‘>’ token
9 | vector<ll> a(n), dp(n + 2, INF);
| ^
lis.cpp:9:16: error: ‘a’ was not declared in this scope
9 | vector<ll> a(n), dp(n + 2, INF);
| ^
lis.cpp:9:22: error: ‘dp’ was not declared in this scope
9 | vector<ll> a(n), dp(n + 2, INF);
| ^~
lis.cpp:15:16: error: ‘upper_bound’ was not declared in this scope
15 | ll j = upper_bound(dp.begin(), dp.end(), a[i]) - dp.begin