Roller Coaster Solution || Codechef Starters - 37

       

Roller Coaster Solution 

Codechef Starters - 37
Problem Code : MINHEIGHT

Solution :

#include <bits/stdc++.h>
#define ll long long int
using namespace std;

int main()
{
    ll t = 1;
    cin >> t;
    while (t--)
    {
        ll x, h;
        cin >> x >> h;
        if (x >= h)
        {
            cout << "YES\n";
        }
        else
        {
            cout << "NO\n";
        }
    }
}

Comments