Problem lis_easy
User Anonymous35V
Submission Time 2023-11-10 09:56:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int32_t main()’:
lis_easy.cpp:10:7: error: ‘nt’ was not declared in this scope; did you mean ‘n’?
10 | for (nt i=0; i<n; i++){
| ^~
| n
lis_easy.cpp:10:15: error: ‘i’ was not declared in this scope
10 | for (nt i=0; i<n; i++){
| ^
lis_easy.cpp:14:2: error: ‘memoset’ was not declared in this scope; did you mean ‘memset’?
14 | memoset(lis, 0, sizeof(lis));
| ^~~~~~~
| memset
lis_easy.cpp:17:4: error: expected primary-expression before ‘if’
17 | if (arr[j]<arr[i])(
| ^~
lis_easy.cpp:16:26: error: expected ‘)’ before ‘if’
16 | for (int j=0; j<i;j++)(
| ~^
| )
17 | if (arr[j]<arr[i])(
| ~~
lis_easy.cpp: At global scope:
lis_easy.cpp:22:5: error: expected unqualified-id before ‘if’
22 | if (l