Problem | lis |
---|---|
User | limmingyao21 |
Submission Time | 2023-01-23 22:33:18 |
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:9:11: error: ‘cin’ was not declared in this scope
9 | ll n; cin >> n;
| ^~~
lis.cpp:10:5: error: ‘vector’ was not declared in this scope
10 | vector<ll> a(n), dp(n + 2, INF);
| ^~~~~~
lis.cpp:10:14: error: expected primary-expression before ‘>’ token
10 | vector<ll> a(n), dp(n + 2, INF);
| ^
lis.cpp:10:16: error: ‘a’ was not declared in this scope
10 | vector<ll> a(n), dp(n + 2, INF);
| ^
lis.cpp:10:22: error: ‘dp’ was not declared in this scope
10 | vector<ll> a(n), dp(n + 2, INF);
| ^~
lis.cpp:16:16: error: ‘upper_bound’ was not declared in this scope
16 | ll j = upper_bound(dp.begin(), dp.end(), a[i]) - dp.b