Thông tin
include <bits/stdc++.h>
using namespace std;
int main() { long long a,b,c; cin>>a>>b>>c; if (a+b==c || a+c==b ||b+c==a) cout<<"NO"; else cout<<fixed<<setprecision(2)<<a+b+c<<" "<<fixed<<setprecision(2)<<(double)(a*b)/2; return 0; }
using namespace std;
int main() { long long a,b,c; cin>>a>>b>>c; if (a+b==c || a+c==b ||b+c==a) cout<<"NO"; else cout<<fixed<<setprecision(2)<<a+b+c<<" "<<fixed<<setprecision(2)<<(double)(a*b)/2; return 0; }
Cảm ơn bạn đã quan tâm ủng hộ chúng tôi!
Khoản ủng hộ của bạn sẽ được sử dụng để:
Quét mã QR để chuyển khoản
Cảm ơn bạn rất nhiều vì sự ủng hộ! ❤️