Problem | feedtheduck |
---|---|
User | shoryu386 |
Submission Time | 2024-07-29 21:54:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
feedtheduck.cpp:6:3: error: invalid preprocessing directive #If; did you mean #if?
6 | # If all a[i] are equal, we can figure out how many elements we need to take to survive directly.
| ^~
| if
feedtheduck.cpp:7:3: error: invalid preprocessing directive #We
7 | # We can take a subarray that contains anywhere between 0 and n copies of a[0]
| ^~
feedtheduck.cpp:8:3: error: invalid preprocessing directive #To
8 | # To determine how many a[0] we want, we take targ/a[0] and round up.
| ^~
feedtheduck.cpp:12:3: error: invalid preprocessing directive #Then
12 | # Then, to get the sum, we multiply by a[0].
| ^~~~
feedtheduck.cpp:1:1: error: ‘import’ does not name a type
1 | import math
| ^~~~~~