Problem | lis_easy |
---|---|
User | Shuhxin |
Submission Time | 2024-06-29 11:11:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:10:14: error: expected initializer before ‘for’
10 | #define forn for(ll i=0; i<n; i++)
| ^~~
lis_easy.cpp:18:5: note: in expansion of macro ‘forn’
18 | forn cin >> a[i];
| ^~~~
lis_easy.cpp:10:26: error: ‘i’ was not declared in this scope
10 | #define forn for(ll i=0; i<n; i++)
| ^
lis_easy.cpp:18:5: note: in expansion of macro ‘forn’
18 | forn cin >> a[i];
| ^~~~
lis_easy.cpp:25:26: error: ‘a’ was not declared in this scope
25 | if (d[l-1] < a[i] && a[i] < d[l])
| ^