20 条题解

  • 0
    @ 2024-2-23 18:12:23
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int a,b,c,d,e,f,x;
        cin>>a>>b>>c>>d;
        x=60*c+d-60*a-b;
        e=x/60;
        f=x-60*e;
        cout<<e<<" "<<f;
    	return 0;
    }
    

    信息

    ID
    612
    时间
    1000ms
    内存
    125MiB
    难度
    4
    标签
    递交数
    573
    已通过
    253
    上传者