Problem | flappyrabbit |
---|---|
User | ZivTheONe |
Submission Time | 2024-07-04 08:36:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flappyrabbit.cpp:7:1: error: ‘include’ does not name a type
7 | include "flappyrabbit.h"
| ^~~~~~~
flappyrabbit.cpp:12:9: error: ‘pair’ does not name a type
12 | typedef pair<int, int> pii;
| ^~~~
flappyrabbit.cpp:13:9: error: ‘vector’ does not name a type
13 | typedef vector<int> vi;
| ^~~~~~
flappyrabbit.cpp:23:3: error: ‘vector’ does not name a type
23 | vector<vi> table;
| ^~~~~~
flappyrabbit.cpp:29:17: error: expected ‘)’ before ‘&’ token
29 | sparseTable(vi& arr, int m){
| ~ ^
| )
flappyrabbit.cpp: In member function ‘int sparseTable::getVal(int, int)’:
flappyrabbit.cpp:26:18: error: ‘table’ was not declared in this scope
26 | res = min(table[i][l], table[i][r- (1 << i) + 1]);
| ^~~~~
flappyrabbit.cpp:26:14: error: ‘min’ was not declared in this scope; did you me