Create 1907.cpp

This commit is contained in:
Kirigaya Kazuto 2016-12-07 19:02:04 +08:00 committed by GitHub
parent 9116f9ae0d
commit 5fa00bec61

16
QUSTOJ/1907.cpp Normal file
View File

@ -0,0 +1,16 @@
#include <iostream>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int a,b,c,d;
cin>>a>>b>>c>>d;
cout<<a*b/2<<" "<<c*d<<endl;
}
return 0;
}