Problem flappyrabbit
User pasit
Submission Time 2026-10-11 02:43:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flappyrabbit.cpp:38:13: error: no matching function for call to ‘SparseTable::SparseTable()’
38 | SparseTable smn,smx;
| ^~~
flappyrabbit.cpp:7:5: note: candidate: ‘SparseTable::SparseTable(std::vector<int>&)’
7 | SparseTable(vector<int>& a) {
| ^~~~~~~~~~~
flappyrabbit.cpp:7:5: note: candidate expects 1 argument, 0 provided
flappyrabbit.cpp:4:8: note: candidate: ‘SparseTable::SparseTable(const SparseTable&)’
4 | struct SparseTable { //0-indexed, range min, static
| ^~~~~~~~~~~
flappyrabbit.cpp:4:8: note: candidate expects 1 argument, 0 provided
flappyrabbit.cpp:4:8: note: candidate: ‘SparseTable::SparseTable(SparseTable&&)’
flappyrabbit.cpp:4:8: note: candidate expects 1 argument, 0 provided
flappyrabbit.cpp:38:17: error: no matching function for call to ‘SparseTable::SparseTable()’
38 | SparseTable smn,smx;
| ^~~
flappyrabbit.cpp:7:5: note