Đăng nhập để hỏi chi tiết


Hãy luôn nhớ cảm ơn và vote 5*
nếu câu trả lời hữu ích nhé!
#include<bits/stdc++.h>
using namespace std;
int n,x,y;
float s,sd;
int main() {
cin.tie(0);
ios::sync_with_stdio(0);
freopen("LH.INP", "r", stdin);
freopen("LH.OUT", "w", stdout);
cin>>n>>x>>y;
s=3.14*x*x;
sd=3.14*y*y;
if (s<n*sd) {
cout<<"NO"<<endl;
} else {
cout<<"YES"<<endl;
}
return 0;
}
Hãy giúp mọi người biết câu trả lời này thế nào?
Bảng tin