4 solutions

  • -1
    @ 2025-3-25 18:09:04

    #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f,g,h; double i; cin>>a>>b>>c>>d; a=a60; c=c60; e=a+b; f=c+d; g=f-e; h=g/60; i=g%60; cout<<h<<" "<<i; return 0; }

    Information

    ID
    1329
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    4
    Tags
    # Submissions
    77
    Accepted
    38
    Uploaded By