1 solutions

  • 0
    @ 2025-11-27 11:54:18

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	int sh,sm,eh,em;
    	cin>>sh>>sm>>eh>>em;
    	int t = 0;
    	t = (eh-sh)*60+em-sm;
    	cout<<t;
    	return 0;
    }
    
    • 1

    Information

    ID
    19
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By