Problem itinerary
User toditisdoingthisforfun
Submission Time 2026-02-16 17:05:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

itinerary.cpp: In function ‘int main()’:
itinerary.cpp:67:34: error: expected primary-expression at end of input
67 | for (int i = 1; i <= n; i+
| ^
itinerary.cpp:67:35: error: expected ‘)’ at end of input
67 | for (int i = 1; i <= n; i+
| ~ ~^
| )
itinerary.cpp:67:34: error: expected statement at end of input
67 | for (int i = 1; i <= n; i+
| ^
itinerary.cpp:67:34: error: expected ‘}’ at end of input
itinerary.cpp:63:39: note: to match this ‘{’
63 | if (is_path && n <= PATH_N_LIMIT) {
| ^
itinerary.cpp:67:34: error: expected ‘}’ at end of input
67 | for (int i = 1; i <= n; i+
| ^
itinerary.cpp:24:12: note: to match this ‘{’
24