[GESP202306 一级] 时间规划
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
小明在为自己规划学习时间。现在他想知道两个时刻之间有多少分钟,你能通过编程帮他做到吗?
输入格式
输入 行,第一行为开始时刻的小时,第二行为开始时刻的分钟,第三行为结束时刻的小时,第四行为结束时刻的分钟。输入保证两个时刻是同一天,开始时刻一定在结束时刻之前。时刻使用 小时制,即小时在 到 之间,分钟在 到 之间。
输出格式
输出一行,包含一个整数,从开始时刻到结束时刻之间有多少分钟。
9
5
9
6
1
9
5
10
0
55