Problem hungryrabbits1
User Lypho
Submission Time 2025-01-01 09:00:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hungryrabbits1.cpp:13:42: error: stray ā€˜#’ in program
13 | dist = max((n-1) - minindex , minindex-1)#checks if the distance to the right is greater than the distance to the left
| ^
hungryrabbits1.cpp:1:1: error: ā€˜n’ does not name a type
1 | n = int(input())
| ^