| Problem | itinerary |
|---|---|
| User | chien |
| Submission Time | 2026-02-17 23:09:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
itinerary.cpp:24:38: error: stray ‘#’ in program
24 | occ[city].append(i) # positions are already sorted because i increases
| ^
itinerary.cpp:29:7: error: invalid preprocessing directive #first
29 | # first DFS (root = 1)
| ^~~~~
itinerary.cpp:34:48: error: stray ‘#’ in program
34 | child_infos = [[] for _ in range(n + 1)] # each element: (L, R, valid, child)
| ^
itinerary.cpp:45:11: error: invalid preprocessing directive #collect
45 | # collect child information
| ^~~~~~~
itinerary.cpp:50:11: error: invalid preprocessing directive #check
50 | # check validity of u's subtree
| ^~~~~
itinerary.cpp:52:11: error: invalid preprocessing directive #first
52 | # first, all children must be valid
| ^~~~~
itinerary.cpp: