1 solutions

  • 0
    @ 2025-12-3 16:44:25

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int d1,t1,d2,t2;
    int main()
    {
    	cin>>d1>>t1>>d2>>t2;
    	int w=d2-d1;
    	w*=24;
    	int t=w+t2-t1;
    	cout<<t<<endl;
    	if(t<=72) cout<<"YES";
    	else cout<<"NO";
        return 0;
    }
    
    • 1

    2021GCOI五年级第二题 核酸检测报告(0.3)

    Information

    ID
    908
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    10
    Tags
    # Submissions
    1
    Accepted
    1
    Uploaded By