Problem Link: CodeChef: Practical coding for everyone
Learning course: Solve Programming problems using C++
My code
// Update the code below to solve this problem
#include <iostream>
#include <string>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int X,Y;
cin>>X>>Y;
int max= min(X,Y/10);
if(max= X){
cout<<"Disposable"<<endl;
}
else{
cout<<"Cloth"<<endl;
}
}
return 0;
}