1922: 【CSP字符串】时钟旋转(2)▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

时钟从时间: lns="http://www.w3.org/1998/Math/MathML">xx:xx  lns="http://www.w3.org/1998/Math/MathML">xx  lns="http://www.w3.org/1998/Math/MathML">xx 分),走到时间:lns="http://www.w3.org/1998/Math/MathML">xx:xx  lns="http://www.w3.org/1998/Math/MathML">xx  lns="http://www.w3.org/1998/Math/MathML">xx 分),时针共旋转了多少度?(假设第一个时间 lns="http://www.w3.org/1998/Math/MathML"> 第二个时间,lns="http://www.w3.org/1998/Math/MathML">2 个时间都是 lns="http://www.w3.org/1998/Math/MathML">12 小时制,且两个时间的时间差不超过 lns="http://www.w3.org/1998/Math/MathML">12 小时,也就是说时针旋转的度数在 lns="http://www.w3.org/1998/Math/MathML">360 度之内,也就是 lns="http://www.w3.org/1998/Math/MathML">1 时间 lns="http://www.w3.org/1998/Math/MathML">1 时间 lns="http://www.w3.org/1998/Math/MathML">212 


Input

2行,第一行为起始时间(如:lns="http://www.w3.org/1998/Math/MathML">01:00),第二行为结束时间。(如:lns="http://www.w3.org/1998/Math/MathML">01:05

Output

时针旋转的度数。(结果保留 lns="http://www.w3.org/1998/Math/MathML">1 位小数)

Sample Input Copy

01:00
01:05

Sample Output Copy

2.5