Problem lis_easy
User lexuantung71
Submission Time 2024-07-15 13:06:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:8:5: error: ‘ll’ was not declared in this scope
8 | ll N;
| ^~
lis_easy.cpp:9:12: error: ‘N’ was not declared in this scope
9 | cin >> N;
| ^
lis_easy.cpp:11:14: error: template argument 2 is invalid
11 | vector<ll> myvec(N);
| ^
lis_easy.cpp:12:12: error: expected ‘;’ before ‘i’
12 | for (ll i = 0; i < N; i++) {
| ^~
| ;
lis_easy.cpp:12:20: error: ‘i’ was not declared in this scope
12 | for (ll i = 0; i < N; i++) {
| ^
lis_easy.cpp:16:14: error: template argument 2 is invalid
16 | vector<ll> dp(N, 1); // dp[i] will store the length of LIS ending at index i
| ^
lis_easy.cpp:16:23: error: expression list treated as compound expression in initializer [-fpermissive]
16 | vector&l