Problem | bingeeating |
---|---|
User | wasdplant |
Submission Time | 2025-02-17 10:23:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bingeeating.cpp:11:7: error: invalid preprocessing directive #Pair
11 | # Pair each price with its day index
| ^~~~
bingeeating.cpp:14:7: error: invalid preprocessing directive #Sort
14 | # Sort the days by price (ascending order)
| ^~~~
bingeeating.cpp:20:7: error: invalid preprocessing directive #Iterate
20 | # Iterate through the sorted days
| ^~~~~~~
bingeeating.cpp:25:11: error: invalid preprocessing directive #Calculate
25 | # Calculate the maximum units we can buy on this day
| ^~~~~~~~~
bingeeating.cpp:28:11: error: invalid preprocessing directive #Calculate
28 | # Calculate the number of days affected by this purchase
| ^~~~~~~~~
bingeeating.cpp:31:11: error: invalid preprocessing directive #Check
31 | # Check if buying on this day is feasible
| ^~~~~
bingeeating.cpp:33:15: error: invalid