Problem | airplane |
---|---|
User | Hengweezy |
Submission Time | 2024-03-03 00:29:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
airplane.cpp: In function ‘int d(std::vector<std::vector<std::pair<int, int> > >&, int)’:
airplane.cpp:22:17: error: ‘var’ was not declared in this scope
22 | auto lowest =var.lower_bound({ftime, fmheight});
| ^~~
airplane.cpp:25:15: error: request for member ‘first’ in ‘value1’, which is of non-class type ‘int’
25 | if(value1.first + value1.second > fmheight +ftime){
| ^~~~~
airplane.cpp:25:30: error: request for member ‘second’ in ‘value1’, which is of non-class type ‘int’
25 | if(value1.first + value1.second > fmheight +ftime){
| ^~~~~~
airplane.cpp:31:18: error: cannot convert ‘const std::pair<int, int>’ to ‘int’ in initialization
31 | int npos = *next(pos);
| ^~~~~~~~~~
| |
| const std::pair<int, int>
airplane.cpp:32:23: error: r