Problem airplane2
User fwaeh
Submission Time 2026-03-12 21:56:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

airplane2.cpp: In function ‘bool solve(const std::vector<int>&, int, int, int)’:
airplane2.cpp:20:30: error: ‘medical’ was not declared in this scope
20 | curR = max(curR, medical); // Error in my typing, should be:
| ^~~~~~~