Chef and Masks Solution || Codechef May Cook-Off 2022

          

Chef and Masks Solution 

Codechef May Cook-Off 2022
Problem Code : CMASKS

Solution :

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

int main()
{
    ll t = 1;
    cin >> t;
    while (t--)
    {
        ll x, y;
        cin >> x >> y;
        if ((100 * x) < (10 * y))
        {
            cout << "DISPOSABLE\n";
        }
        else
        {
            cout << "CLOTH\n";
        }
    }
}

Comments