Problem flamethrower
User Taken
Submission Time 2026-11-03 13:59:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp:4:7: error: invalid preprocessing directive #Read
4 | # Read all input from standard input
| ^~~~
flamethrower.cpp:9:7: error: invalid preprocessing directive #Parse
9 | # Parse N and K
| ^~~~~
flamethrower.cpp:13:7: error: invalid preprocessing directive #Parse
13 | # Parse the costs of the N trees
| ^~~~~
flamethrower.cpp:16:7: error: invalid preprocessing directive #Calculate
16 | # Calculate the sum of the first window of size K
| ^~~~~~~~~
flamethrower.cpp:20:7: error: invalid preprocessing directive #Slide
20 | # Slide the window across the remaining trees
| ^~~~~
flamethrower.cpp:22:11: error: invalid preprocessing directive #Add
22 | # Add the incoming tree, subtract the outgoing tree
| ^~~
flamethrower.cpp:27:7: error: invalid preprocessing directive #Output
27 | # Output the