Getproblem (4) S
Getproblem (4) S
Input Specification
The input contains one integer D (0 D 1 000 000 000), which represents the duration that the
clock is observed.
For 4 of the 15 available marks, D 10 000.
Output Specification
Output the number of times that the clock displays a time where the digits form an arithmetic
sequence starting from noon (12:00) and ending after D minutes have passed, possibly including
the ending time.
Sample Input 1
34
Sample Input 2
180
Exemple dentree 1
34
Exemple dentree 2
180