6 条题解
- 1
信息
- ID
- 536
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 2
- 标签
- 递交数
- 161
- 已通过
- 103
- 上传者
已AC,放心品尝
//先赞后看,养成习惯!
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n, m;
cin >> n >> m;
cout << n * m / 2;
return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
n = a* b / 2;
cout<<a;
return 0;
}
题解来啦,已AC🚀️
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,m;//定义n,m
cin>>n>>m;//输入两个整数N,M。
cout<<n*m/2;
return 0;
}