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

Compile Error

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++){
| ^
lis.cpp:29:42: error: ‘arr’ was not declared in this scope
29 | vector<int> dat = loopy(0,count,bignum,arr[0],arr,n,vector<int> result);
| ^~~
lis.cpp:29:67: error: expected primary-expression before ‘result’
29 | vector<int> dat = loopy(0,count,bignum,arr[0],arr,n,vector<int> result);
| ^~~~~~
lis.cpp:30:17: error: could not convert ‘dat’ from ‘std::vector<int>’ to ‘bool’
30 | for (int ddd; dat){
| ^~~
| |
| std::vector<int>
lis.cpp:30: