Problem | lis_easy |
---|---|
User | TinaD |
Submission Time | 2025-03-15 18:22:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp:11:8: error: ‘maxn’ was not declared in this scope
11 | int dp[maxn];
| ^~~~
lis_easy.cpp:12:7: error: ‘maxn’ was not declared in this scope
12 | int a[maxn];
| ^~~~
lis_easy.cpp: In function ‘void solve()’:
lis_easy.cpp:15:7: error: ‘dp’ was not declared in this scope
15 | fill(dp,dp+n,1000001);
| ^~
lis_easy.cpp:15:13: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
15 | fill(dp,dp+n,1000001);
| ^
| yn
lis_easy.cpp:17:23: error: ‘a’ was not declared in this scope
17 | *lower_bound(dp,dp+n,a[i])=a[i];
| ^
lis_easy.cpp:19:28: error: expected ‘)’ before numeric constant
19 | cout<<lower_bound((dp,dp+n.1000001)-dp);
| ~ ^~~~~~~~
| )
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:23:7: error: ‘maxn’ wa