mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
17 lines
205 B
C++
17 lines
205 B
C++
#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;
|
|
}
|