Problem flappyrabbit
User PlayVoltz
Submission Time 2023-08-23 21:56:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flappyrabbit.cpp: In function ‘void init(std::vector<int>, std::vector<int>)’:
flappyrabbit.cpp:56:9: error: incompatible types in assignment of ‘std::vector<int>’ to ‘int [100000000]’
56 | down = A;
| ^
flappyrabbit.cpp:57:7: error: incompatible types in assignment of ‘std::vector<int>’ to ‘int [100000000]’
57 | up = B;
| ^
flappyrabbit.cpp:58:9: error: request for member ‘resize’ in ‘stdown’, which is of non-class type ‘int [100000000]’
58 | stdown.resize(4*A.size());
| ^~~~~~
flappyrabbit.cpp:59:7: error: request for member ‘resize’ in ‘stup’, which is of non-class type ‘int [100000000]’
59 | stup.resize(4*B.size());
| ^~~~~~
flappyrabbit.cpp: In function ‘int min_fuel(int, int)’:
flappyrabbit.cpp:65:34: error: request for member ‘size’ in ‘down’, which is of non-class type ‘int [100000000]’
65 | return max(querydown(0, 0, down.size()-1, L, R)-