- BC20270051's blog
鸡尾酒疗法
- 2 months ago @
#include <bits/stdc++.h> using namespace std;
int main() {
}
#include <bits/stdc++.h> using namespace std;
int main() {
int sl;
cin>>sl;
int zs,yx;
double bfb[25];
for(int i=1 ;i<=sl;i++)
{
cin<<zs<<" "<<yx;
bfb[i]=yx/zs;
if ((bfb[i]-bfb[1])/bfb[1]>0.05)
cout<<"better"<<endl;
else if((bfb[i]-bfb[1])/bfb[1]<0.05||(bfb[i]-bfb[1])/bfb[1]>-0.05)
}
return 0;
}
By signing up a HFOJ universal account, you can submit code and join discussions in all online judging services provided by us.