Easy15 pts
Beautiful Days at the Movies
i to j. Day beautiful if |n - reverse(n)| % k === 0. Count beautiful days.
Input
i j k
Output
Count.
Sample
20 23 6
Expected
2
Loading editor…
Output
No output yet. Run your code to see results.
i to j. Day beautiful if |n - reverse(n)| % k === 0. Count beautiful days.
i j k
Count.
20 23 6
2
Loading editor…
No output yet. Run your code to see results.