Problem candymountain_ex
User horse3903
Submission Time 2023-02-25 17:21:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candymountain_ex.cpp:6:3: error: invalid preprocessing directive #state
6 | # state: dp[i] is min val of the max candy gotten from trip of arr[0...i]
| ^~~~~
candymountain_ex.cpp:9:3: error: invalid preprocessing directive #base
9 | # base cases
| ^~~~
candymountain_ex.cpp:13:3: error: invalid preprocessing directive #transition
13 | # transition
| ^~~~~~~~~~
candymountain_ex.cpp:19:7: error: invalid preprocessing directive #remove
19 | # remove the element that is going out of the window
| ^~~~~~
candymountain_ex.cpp:21:7: error: invalid preprocessing directive #add
21 | # add the new element
| ^~~
candymountain_ex.cpp:1:1: error: ‘import’ does not name a type
1 | import heapq
| ^~~~~~