Problem firefighting
User Kelly25
Submission Time 2025-01-01 17:24:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firefighting.cpp:7:7: error: invalid preprocessing directive #This
7 | # This function will return whether the current node requires a fire station
| ^~~~
firefighting.cpp:11:7: error: invalid preprocessing directive #Traverse
11 | # Traverse all the neighbors of the current town
| ^~~~~~~~
firefighting.cpp:16:11: error: invalid preprocessing directive #Recursively
16 | # Recursively check the children's requirement
| ^~~~~~~~~~~
firefighting.cpp:19:11: error: invalid preprocessing directive #If; did you mean #if?
19 | # If child distance exceeds the limit, mark this as requiring a fire station
| ^~
| if
firefighting.cpp:25:7: error: invalid preprocessing directive #If; did you mean #if?
25 | # If the current town needs a fire station, we place it
| ^~
| if
firefighting.cpp:34:7: error: invalid pre