3 solutions

  • 1
    @ 2025-11-16 18:42:50
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a,b;cin>>a>>b;
    	if(a>= 10||b>=20) cout<<1;
    	else cout<<0;
    	return 0;
    }
    
    • 0
      @ 2026-8-20 20:22:45
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
      	int a,b;
      	cin>>a>>b;
      	if(a/10>=1 or b/20>=1)
      	{
      		cout<<"1";
      	}
      	else
      	{
      		cout<<"0";
      	}
      	return 0;
      }
      
      • -4
        @ 2025-1-21 10:14:08

        #include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; if(a>=10||b>=20) { cout<<1; } else { cout<<0; } return 0; }

        • 1

        Information

        ID
        858
        Time
        1000ms
        Memory
        256MiB
        Difficulty
        1
        Tags
        (None)
        # Submissions
        266
        Accepted
        121
        Uploaded By