Submission #4116721
Source Code Expand
x1,y1,x2,y2=map(int,input().split())
a=abs(x1-x2)
b=abs(y1-y2)
if(y1<=y2):
if(x1<=x2):
print(x2-b,y2+a,x1-b,y1+a)
else:
print(x2-b,y2-a,x1-b,y1-a)
else:
if(x1<=x2):
print(x2+a,y2-b,x1+a,y1-b)
else:
print(x2+b,y2+a,x1+b,y1-a)
Submission Info
| Submission Time | |
|---|---|
| Task | A - Pair |
| User | tayutaedomoshizu |
| Language | Python (3.4.3) |
| Score | 0 |
| Code Size | 260 Byte |
| Status | RE |
| Exec Time | 18 ms |
| Memory | 3064 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | s1.txt, s2.txt, s3.txt, s4.txt |
| All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, s1.txt, s2.txt, s3.txt, s4.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01.txt | RE | 18 ms | 2936 KiB |
| 02.txt | RE | 18 ms | 3060 KiB |
| 03.txt | RE | 18 ms | 3060 KiB |
| 04.txt | RE | 18 ms | 2940 KiB |
| 05.txt | RE | 18 ms | 3060 KiB |
| 06.txt | RE | 18 ms | 3060 KiB |
| s1.txt | RE | 18 ms | 3060 KiB |
| s2.txt | RE | 18 ms | 3060 KiB |
| s3.txt | RE | 18 ms | 2940 KiB |
| s4.txt | RE | 17 ms | 3064 KiB |