#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c,d;
	cin>>a>>b>>c>>d;
	int e=(c-a)*60;
	e+=d-b;
	cout<<e;
	return 0;
}

0 comments

No comments so far...

Information

ID
725
Time
1000ms
Memory
256MiB
Difficulty
6
Tags
# Submissions
73
Accepted
25
Uploaded By