![](https://rs.olm.vn/images/avt/0.png?1311)
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
![](https://rs.olm.vn/images/avt/0.png?1311)
![](https://rs.olm.vn/images/avt/0.png?1311)
2:
#include <bits/stdc++.h>
using namespace std;
double xm,ix,iy,r,ma,mb;
int main()
{
cin>>ix>>iy;
cin>>r;
cin>>ma>>mb;
xm=sqrt((ix-ma)*(ix-ma)+(iy-mb)*(iy-mb));
if (xm==r) cout<<"phai";
else cout<<"khong phai";
return 0;
}
![](https://rs.olm.vn/images/avt/0.png?1311)
#include <bits/stdc++.h>
using namespace std;
long long n,i,x,nn;
int main()
{
cin>>n;
cin>>x;
nn=x;
for (i=1; i<n; i++)
{
cin>>x;
nn=min(nn,x);
}
cout<<nn;
return 0;
}
![](https://rs.olm.vn/images/avt/0.png?1311)
#include <bits/stdc++.h>
using namespace std;
long long a,b;
int main()
{
cin>>a>>b;
cout<<"a truoc khi doi la:"<<a<<endl;
cout<<'b truoc khi doi la:"<<b<<endl;
swap(a,b);
cout<<"a sau khi doi la:"<<a<<endl;
cout<<"b sau khi doi la:"<<b;
return 0;
}
![](https://rs.olm.vn/images/avt/0.png?1311)
#include <bits/stdc++.h>
using namespace std;
double a,b;
int main()
{
cin>>a>>b;
cout<<"Chu vi la:"<<fixed<<setprecision(2)<<(a+b)/2<<endl;
cout<<"Dien tich la:"<<fixed<<setprecision(2)<<a*b;
return 0;
}
![](https://rs.olm.vn/images/avt/0.png?1311)
c: include <bits/stdc++.h>
using namespace std;
long long a,b,c;
int main()
{
cin>>a>>b>>c;
cout<<max(a,max(b,c));
return 0;
}