Problem | airplane |
---|---|
User | Hengweezy |
Submission Time | 2024-03-03 00:23:58 |
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:24:31: error: ‘source’ was not declared in this scope
24 | for(pair<int, int>& p : dir[source]){
| ^~~~~~
airplane.cpp:29:16: error: ‘t’ was not declared in this scope
29 | int ftime = t >= theight? t +1 : theight;
| ^
airplane.cpp:30:23: error: ‘curheight’ was not declared in this scope; did you mean ‘fmheight’?
30 | int fmheight = max(curheight - 1, theight);
| ^~~~~~~~~
| fmheight