Problem | flappyrabbit |
---|---|
User | PlayVoltz |
Submission Time | 2023-08-23 21:56:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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: In function ‘int min_fuel(int, int)’:
flappyrabbit.cpp:63:34: error: request for member ‘size’ in ‘down’, which is of non-class type ‘int [100000000]’
63 | return max(querydown(0, 0, down.size()-1, L, R)-queryup(0, 0, up.size()-1, L, R), 0);
| ^~~~
flappyrabbit.cpp:63:67: error: request for member ‘size’ in ‘up’, which is of non-class type ‘int [100000000]’
63 | return max(querydown(0, 0, down.size()-1, L, R)-queryup(0, 0, up.size()-1, L, R), 0);
|