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