6 solutions

  • 0
    @ 2026-6-21 14:52:46
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int a,b;
    	cin>>a>>b;
    	if(a<60&&b>60)
    	{
    		cout<<'1';
    	}
    	else if(a>=60&&b<60)
    	{
    		cout<<'1';
    	}
    	else
    	{
    		cout<<'0';
    	}
        return 0; 
    }
    

    Information

    ID
    861
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    302
    Accepted
    106
    Uploaded By