Problem lis
User Phoubia01
Submission Time 2025-08-10 16:39:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis.cpp: In function ‘int main()’:
lis.cpp:15:14: error: ‘l’ was not declared in this scope
15 | for (l = 1; l < i; i++){
| ^
lis.cpp:22:15: error: expected ‘;’ before numeric constant
22 | for (int i 0; i < n; i++){
| ^ ~
| ;
lis.cpp:22:25: error: expected ‘)’ before ‘;’ token
22 | for (int i 0; i < n; i++){
| ~ ^
| )
lis.cpp:22:27: error: ‘i’ was not declared in this scope
22 | for (int i 0; i < n; i++){
| ^