| Problem | flappyrabbit |
|---|---|
| User | trandk |
| Submission Time | 2025-12-25 16:30:11 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
flappyrabbit.cpp: In member function ‘void segment_tree::buildseg(std::vector<std::pair<int, int> >)’:
flappyrabbit.cpp:69:5: error: no match for ‘operator[]’ (operand types are ‘std::pair<int, int>’ and ‘int’)
69 | t[n+i] = ar[i];
| ^
flappyrabbit.cpp:71:5: error: no match for ‘operator[]’ (operand types are ‘std::pair<int, int>’ and ‘int’)
71 | t[i] = comupd(t[i<<1], t[i<<1|1]);
| ^
flappyrabbit.cpp:71:19: error: no match for ‘operator[]’ (operand types are ‘std::pair<int, int>’ and ‘int’)
71 | t[i] = comupd(t[i<<1], t[i<<1|1]);
| ^
flappyrabbit.cpp:71:28: error: no match for ‘operator[]’ (operand types are ‘std::pair<int, int>’ and ‘int’)
71 | t[i] = comupd(t[i<<1], t[i<<1|1]);
| ^
flappyrabbit.cpp: In member function ‘void segment_tree::update(int, std::pair<int, int>