Codeforces 102267 A. Picky Eater solution
Solve in C++:
#include<bits/stdc++.h>
using namespace std;
int main()
{
cin>>x>>y;
r=x/y;
if(r>=1)
cout<<"1"<<endl;
else
cout<<"0"<<endl;
}
#include<bits/stdc++.h>
using namespace std;
int main()
{
cin>>x>>y;
r=x/y;
if(r>=1)
cout<<"1"<<endl;
else
cout<<"0"<<endl;
}
No comments