Problem lis_easy
User mth4z
Submission Time 2023-05-24 17:45:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:26:44: error: expected ‘;’ before ‘)’ token
26 | int n; cin >> n; for (int x = 0; x < n, x++) cin >> val[x];
| ^
| ;
lis_easy.cpp:29:2: error: expected ‘,’ or ‘;’ before ‘for’
29 | for (int x = 0; x < n; x++){
| ^~~
lis_easy.cpp:29:18: error: ‘x’ was not declared in this scope
29 | for (int x = 0; x < n; x++){
| ^