Problem car
User mew1323
Submission Time 2026-09-05 20:54:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

car.cpp: In function ‘int main()’:
car.cpp:22:22: error: ‘n’ was not declared in this scope
22 | vector<bool> marked(n,false);
| ^
car.cpp:28:25: error: expression cannot be used as a function
28 | int n = top.second();
| ^
car.cpp:31:44: error: expression cannot be used as a function
31 | max_edge = max(max_edge, top.first());
| ^