Problem lis_easy
User TinaD
Submission Time 2025-03-15 18:22:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘void solve()’:
lis_easy.cpp:15:13: error: ‘n’ was not declared in this scope
15 | fill(dp,dp+n,1000001);
| ^
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: ‘n’ was not declared in this scope
23 | cin>>n;
| ^