Create 3936.cpp

This commit is contained in:
Kirigaya Kazuto 2016-04-27 20:13:21 +08:00
parent 5e52fc5135
commit e96ea07c54

18
ZOJ/3936.cpp Normal file
View File

@ -0,0 +1,18 @@
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int a,b,c,d;
scanf("%d %d %d %d",&a,&b,&c,&d);
printf("%d %d\n",c,b+d);
printf("%d %d\n",a,b+d);
}
return 0;
}