[1] 授業単元:
[2] 問題文:
You are writing firmware for an exercise machine. Each second, a routine in your firmware is
called which decides whether it should display the percentage of the workout completed.
The display does not have any ability to show decimal points, so the routine should only
display a percentage if the second it is called results in a whole percentage of the total workout.

Given a string time representing how long the workout lasts, in the format "hours:minutes:seconds",
return the number of times a percentage will be displayed by the routine.
The machine should never display 0% or 100%.

CONSTRAINTS
-time will be a string formatted as "HH:MM:SS", HH = hours, MM = minutes, SS = seconds.
-The hours portion of time will be an integer with exactly two digits, with a value between 00 and 23, inclusive.
-The minutes portion of time will be an integer with exactly two digits, with a value between 00 and 59, inclusive.
-The seconds portion of time will be an integer with exactly two digits, with a value between 00 and 59, inclusive
-time will not be "00:00:00".

[3] 環境
 [3.1] OS: Linux
 [3.2] gcc
 [3.3] 言語: C++

[4] 期限:今週中
[5] その他の制限:習ってるのはポインタ、配列、関数の初歩程度です。