4 条题解

  • 1
    @ 2025-3-9 9:50:28

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

    • 1
      @ 2025-3-9 9:50:28

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

      • 1
        @ 2025-3-9 9:50:28

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

        • 1
          @ 2025-3-9 9:49:59

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

          • 1

          信息

          ID
          509
          时间
          1000ms
          内存
          256MiB
          难度
          5
          标签
          递交数
          64
          已通过
          25
          上传者