已知直角三角形的两条直角边长度(unsigned long long内),编程求其面积~
#include<iostream>
using namespace std;
int main(){
unsigned long long a,b;
cin >> a >> b;
cout << (a * b) / 2 << endl;
return 0;
}
已知直角三角形的两条直角边长度(unsigned long long内),编程求其面积~
#include<iostream>
using namespace std;
int main(){
unsigned long long a,b;
cin >> a >> b;
cout << (a * b) / 2 << endl;
return 0;
}