Problem | rabbitmilk |
---|---|
User | Hijackedsoul |
Submission Time | 2025-03-16 23:19:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rabbitmilk.cpp:5:7: error: invalid preprocessing directive #Read
5 | # Read number of stalls (and qualities)
| ^~~~
rabbitmilk.cpp:9:7: error: invalid preprocessing directive #Initialize
9 | # Initialize global maximum, and the max and min products ending at index 0.
| ^~~~~~~~~~
rabbitmilk.cpp:14:7: error: invalid preprocessing directive #Iterate
14 | # Iterate over the array from the second element
| ^~~~~~~
rabbitmilk.cpp:16:11: error: invalid preprocessing directive #If; did you mean #if?
16 | # If the current number is negative, swap max and min because negative * min becomes positive
| ^~
| if
rabbitmilk.cpp:20:11: error: invalid preprocessing directive #Update
20 | # Update the maximum and minimum products ending here
| ^~~~~~
rabbitmilk.cpp:24:11: error: invalid preprocessing directive #Update
24 |