Problem | snail |
---|---|
User | snorky |
Submission Time | 2024-01-21 17:16:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snail.cpp:47:305: error: missing terminating ' character
47 | This code initializes the variables height, day, and phase to keep track of the snail's progress. It then iterates through the days, updating the snail's height and checking for the exit condition. If the snail can reach the height H, it prints the first day and phase when this happens. If the snail can't reach the height H, it prints -1 -1 as specified in the problem.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
snail.cpp:47:1: error: ‘This’ does not name a type
47 | This code initializes the variables height, day, and phase to keep track of the snail's progress. It then iterat