Problem lis
User RandomCtfNoob
Submission Time 2025-02-12 16:06:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis.cpp:3:19: error: expected ‘)’ before ‘;’ token
3 | int loopy(int inde; int count; int bignum; int num; int arr[];int n;vector<int> result){
| ~ ^
| )
lis.cpp:3:57: error: storage size of ‘arr’ isn’t known
3 | int loopy(int inde; int count; int bignum; int num; int arr[];int n;vector<int> result){
| ^~~
lis.cpp:3:87: error: expected initializer before ‘)’ token
3 | int loopy(int inde; int count; int bignum; int num; int arr[];int n;vector<int> result){
| ^
lis.cpp: In function ‘int main()’:
lis.cpp:21:2: error: expected initializer before ‘for’
21 | for (int i = 0; i < n; i++){
| ^~~
lis.cpp:21:18: error: ‘i’ was not declared in this scope
21 | for (int i = 0; i < n; i++){
|