We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Here is my Python solution! We check all the days and if the absolute value between the day and the reversed day is divisible by k, we add 1 to the amount of beautiful days.
Beautiful Days at the Movies
You are viewing a single comment's thread. Return to all comments →
Here is my Python solution! We check all the days and if the absolute value between the day and the reversed day is divisible by k, we add 1 to the amount of beautiful days.