diff --git a/ZOJ/3936.cpp b/ZOJ/3936.cpp new file mode 100644 index 0000000..d60db38 --- /dev/null +++ b/ZOJ/3936.cpp @@ -0,0 +1,18 @@ +#include +#include +#include +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; +}