1 solutions

  • 0
    @ 2026-11-7 20:54:52
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a,b,c,d;
    	cin>>a;
    	cin>>b;
    	cin>>c;
    	cin>>d;
    	int x=0,y=0;
    	x=a*60+b;
    	y=c*60+d;
    	int s=0;
    	s=y-x;
    	cout<<s;
        return 0;
    }
    

    Information

    ID
    1162
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    5
    Tags
    # Submissions
    133
    Accepted
    52
    Uploaded By