Problem | lis |
---|---|
User | RandomCtfNoob |
Submission Time | 2025-02-12 16:11:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis.cpp: In function ‘int loopy(int, int, int, int, int*, int, std::vector<int>)’:
lis.cpp:11:9: error: cannot convert ‘std::vector<int>’ to ‘int’ in return
11 | return result;
| ^~~~~~
lis.cpp: In function ‘int main()’:
lis.cpp:28:67: error: expected primary-expression before ‘result’
28 | vector<int> dat = loopy(0,count,bignum,arr[0],arr,n,vector<int> result);
| ^~~~~~
lis.cpp:29:20: error: expected ‘;’ before ‘)’ token
29 | for (int ddd, dat){
| ^
| ;
lis.cpp:29:20: error: expected primary-expression before ‘)’ token
lis.cpp:29:20: error: expected ‘;’ before ‘)’ token
29 | for (int ddd, dat){
| ^
| ;