Problem car
User gelastropod
Submission Time 2025-03-18 12:46:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

car.cpp: In function ‘int main()’:
car.cpp:9:30: error: ‘p’ was not declared in this scope
9 | for (int i = 0; i < N; i++) p.push_back(i);
| ^
car.cpp:17:19: error: ‘n’ was not declared in this scope
17 | vector<int> dist(n, INT_MAX);
| ^