ZhenlongDai/ACPR huggingface dataset:
Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())

if a-e <= k:
  print('Yay!')
elif b-a > k or c-b > k or d-c > k or e-d > k:
  print(':(')
elif c-a > k or d-b > k or e-c > k:
  print(':(')
elif d-a > k or e-b > k:
  print(':(')
elif e-a < k:
  print(':(')
  

Failing test case input:
15
-1
4
1
38
5

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())

if e-a <= k:
  print('Yay!')
elif b-a > k or c-b > k or d-c > k or e-d > k:
  print(':(')
elif c-a > k or d-b > k or e-c > k:
  print(':(')
elif d-a > k or e-b > k:
  print(':(')
elif e-a > k:
  print(':(')

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
b=int(input())
c=int(input())
d=int(input())
e=int(input())
k=int(input())
if b-a>k or c-b>k or d-c>k or e-d>k:
  print(":(")
else:
  print("Yay!")

Failing test case input:
15
18
26
35
36
18

Expected output:
:(

Actual output:
Yay!


Fixed submission (verdict: Accepted):
a=int(input())
b=int(input())
c=int(input())
d=int(input())
e=int(input())
k=int(input())
if e-a>k:
  print(":(")
else:
  print("Yay!")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
b=int(input())
c=int(input())
d=int(input())
e=int(input())
k=int(input())
if abs(a-b)<k and abs(a-c)<k and abs(a-d)<k and abs(a-e)<k and abs(b-c)<k and abs(b-d)<k and abs(b-e)<k and abs(c-d)<k and abs(c-e)<k and abs(d-e)<k:
  print("Yay!")
else:
  print(":(")

Failing test case input:
1
-2
5
13
6
15

Expected output:
Yay!


Actual output:
:(


Fixed submission (verdict: Accepted):
a=int(input())
b=int(input())
c=int(input())
d=int(input())
e=int(input())
k=int(input())
if (b-a)<=k and (c-a)<=k and (d-a)<=k and (e-a)<=k and (c-b)<=k and (d-b)<=k and (e-b)<=k and (d-c)<=k and (e-c)<=k and (e-d)<=k:
    print("Yay!")
else:
    print(":(")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = [int(input()) for _ in range(5)]
k = int(input())

flag = False
for i in range(4):
  if l[i+1] - l[i] > k:
    flag = True

if flag:
  print(":(")
else:
  print("Yay!")

Failing test case input:
1
0
4
8
18
15

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
l = [int(input()) for _ in range(5)]
k = int(input())
 
flag = False
for i in range(5):
  for j in range(i +1, 5):
    if l[j] - l[i] > k:
      flag = True
      break
 
if flag:
  print(":(")
else:
  print("Yay!")
Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

import sys
sys.setrecursionlimit(10**9)
input = sys.stdin.readline

L = [int(input()) for _ in range(6)]
ans = "Yay!"
for l1, l2 in zip(L, L[1:-1]):
    if l2-l1 <= L[-1]:
        continue
    else:
        ans = ":("
print(ans)


Failing test case input:
15
18
26
35
36
18

Expected output:
:(

Actual output:
Yay!


Fixed submission (verdict: Accepted):

import sys
sys.setrecursionlimit(10**9)
input = sys.stdin.readline

L = [int(input()) for _ in range(6)]
k = L.pop(-1)
ans = "Yay!"
if max(L)-min(L) > k:
    ans = ":("
print(ans)

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())

if e - a < k:
	print(":(")
else:
	print("Yay!")

Failing test case input:
1
-2
5
13
3
23

Expected output:
Yay!


Actual output:
:(


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())

if e - a > k:
	print(":(")
else:
	print("Yay!")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a_list = []
[a_list.append(int(input())) for i in range(5)]
k = int(input())
print("Yay!") if k > (max(a_list)-min(a_list)) else print(":(")

Failing test case input:
1
-2
5
13
6
15

Expected output:
Yay!


Actual output:
:(


Fixed submission (verdict: Accepted):
a_list = []
[a_list.append(int(input())) for i in range(5)]
k = int(input())
print("Yay!") if k >= (max(a_list)-min(a_list)) else print(":(")

Problem: p03075
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
antenna = [input() for _ in range(5)]
k = int(input())

check = True
for i in range(4):
  if int(antenna[i+1]) - int(antenna[i]) > k:
    check = False
    
print("Yay!" if check else ":(")

Failing test case input:
15
18
26
35
36
18

Expected output:
:(

Actual output:
Yay!


Fixed submission (verdict: Accepted):
antenna = [input() for _ in range(5)]
k = int(input())

check = True
for i in range(4):
  for j in range(i+1,5):
    if int(antenna[j]) - int(antenna[i]) > k:
      check = False

print("Yay!" if check else ":(")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
li = []
for i in range(5):
    li.append(int(input()))

k = int(input())
li = sorted(li)
if k > li[4] - li[0]:
    print("Yey!")
else:
    print(":(")

Failing test case input:
1
0
0
13
6
23

Expected output:
Yay!


Actual output:
Yey!


Fixed submission (verdict: Accepted):
li = []
for i in range(5):
    li.append(int(input()))

k = int(input())
li = sorted(li)
if k >= li[4] - li[0]:
    print("Yay!")
else:
    print(":(")
Problem: p03075
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
lis = []
for i in range(5):
    lis.append(int(input()))

K = int(input())

for i in range(5):
    for j in range(i, 5):
        if lis[j]-lis[i] > K:
            print(":)")
            exit()

print("Yay!")


Failing test case input:
15
18
13
35
34
2

Expected output:
:(


Actual output:
:)


Fixed submission (verdict: Accepted):
lis = []
for i in range(5):
    lis.append(int(input()))

K = int(input())

for i in range(5):
    for j in range(i, 5):
        if lis[j]-lis[i] > K:
            print(":(")
            exit()

print("Yay!")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
l = [a, b, c, d, e]
for i in range(len(l)-1):
  for j in range(len(l)):
    if l[i]-l[j] >= k:
      print(":(")
      quit()
print("Yay!")

Failing test case input:
1
-2
5
13
10
15

Expected output:
Yay!


Actual output:
:(


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
l = [e, d, c, b, a]
for i in range(len(l)-1):
  for j in range(len(l)):
    if l[i]-l[j] > k:
      print(":(")
      quit()
print("Yay!")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
if (a-e)<= k:
  print("Yay!")
else:
  print(":(")

Failing test case input:
15
5
4
35
34
3

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
if (e-a)<= k:
  print("Yay!")
else:
  print(":(")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
antenna = [int(input()) for i in range(5)]
k = int(input())
judge = ''
i,j = 1,1
for j in range(i+1,5):
  if antenna[i]**2 + antenna[j]**2 > k**2:
    judge = ':('
    break
  i+=1

if judge==':(':
  print(':(')
else:
  print('Yay!')

Failing test case input:
1
-2
5
13
10
15

Expected output:
Yay!


Actual output:
:(


Fixed submission (verdict: Accepted):
antenna = [int(input()) for i in range(5)]
k = int(input())
judge = ''
i,j = 1,1
for i in range(5):
  for j in range(i+1,5):
    if abs(antenna[i]-antenna[j]) > k:
      judge = ':('
      break

if judge==':(':
  print(':(')
else:
  print('Yay!')

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=[int(input()) for i in range(5)]
k=int(input())
ans=0
for i in range(4):
  for j in range(i,4):
    if a[j]-a[i]>k:
      ans=":("
      break
if ans==0:
  print("Yay!")
else:
  print(ans)

Failing test case input:
15
5
4
0
38
8

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a=[int(input()) for i in range(5)]
k=int(input())
ans=0
for i in range(4):
  for j in range(i+1,5):
    if a[j]-a[i]>k:
      ans=":("
      break
if ans==0:
  print("Yay!")
else:
  print(ans)
Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = []
for i in range(5):
    a.append(int(input()))
k = input()

if a[4] - a[0] <= 15:
    print("Yay!")
else:
    print(":(")


Failing test case input:
1
0
4
8
18
29

Expected output:
Yay!


Actual output:
:(


Fixed submission (verdict: Accepted):
a = []
for i in range(5):
    a.append(int(input()))
k = int(input())

if a[4] - a[0] <= k:
    print("Yay!")
else:
    print(":(")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

lst = list(map(int, [input() for _ in range(5)]))
k = int(input())
answer = "Yay!"

for i in range(4, 0, -1):
    for j in range(4 - i):
        if lst[i] - lst[0] > k:
            answer = ":("

print(answer)

Failing test case input:
15
0
1
0
22
5

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):

lst = list(map(int, [input() for _ in range(5)]))
k = int(input())
answer = "Yay!"
count = 0

for i in range(4, 0, -1):
    count += 1
    for j in range(4 - count):
        if lst[i] - lst[j] > k:
            answer = ":("

print(answer)

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = [int(input()) for i in range(5)]
k = int(input())
l =[a[i+1]-a[i] for i in range(4)]
if any(i for i in l) > k:
    print(":(")
else:
    print("Yey!")

Failing test case input:
15
1
4
71
38
3

Expected output:
:(


Actual output:
Yey!


Fixed submission (verdict: Accepted):
a = [int(input()) for i in range(5)]
k = int(input())
l = max(a) - min(a)
if l > k:
    print(":(")
else:
    print("Yay!")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input(""))
b=int(input(""))
c=int(input(""))
d=int(input(""))
e=int(input(""))
k=int(input(""))
M=max(a,b,c,d,e)
m=min(a,b,c,d,e)
sa=M-m
if sa>=k:
    print('Yay!')
else:
    print(':(')

Failing test case input:
1
0
8
13
6
23

Expected output:
Yay!


Actual output:
:(


Fixed submission (verdict: Accepted):
a=int(input(""))
b=int(input(""))
c=int(input(""))
d=int(input(""))
e=int(input(""))
k=int(input(""))
M=max(a,b,c,d,e)
m=min(a,b,c,d,e)
sa=M-m
if sa<=k:
    print('Yay!')
else:
    print(':(')

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
k1 = d - a
if k >= k1:
    print("Yay!")
else:
    print(":(")

Failing test case input:
15
0
4
1
38
5

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
k1 = e - a
if k >= k1:
    print("Yay!")
else:
    print(":(")
Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = 0
b = 0
c = 0
d = 0
e = 0
k = 0
x = 0
y = 0

antena = [a, b, c, d, e]



for i in range(5):

    for j in range(i+1, 5):
        result = antena[j] - antena[i]
        

        if result > k:
            x += 1


        else:
            y += 1


if x == 10 and y == 0:
    print(":(")

elif y >= 1:
    print("Yay!")


Failing test case input:
15
5
4
1
38
8

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
x = 0
y = 0

antena = [a, b, c, d, e]



for i in range(5):

    for j in range(i+1, 5):
        result = antena[j] - antena[i]
        

        if result > k:
            x += 1


        else:
            y += 1
            


if x >= 1 and y < 10:
    print(":(")

elif x == 0 and y == 10:
    print("Yay!")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def five_antennas(li, k):

    return "Yay!" if max(li)-min(li) < k else ":("
def main():
    li = [int(input())for i in range(5)]
    k = int(input())
    print(five_antennas(li, k))

if __name__ == '__main__':
    main()

Failing test case input:
1
-2
5
13
6
15

Expected output:
Yay!


Actual output:
:(


Fixed submission (verdict: Accepted):
def five_antennas(li, k):

    return "Yay!" if max(li)-min(li) <= k else ":("
def main():
    li = [int(input())for i in range(5)]
    k = int(input())
    print(five_antennas(li, k))

if __name__ == '__main__':
    main()

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
if (a - e) < k:
  print("Yay!")
else:
  print(":(")

Failing test case input:
15
0
4
2
22
5

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
if (e - a) <= k:
  print("Yay!")
else:
  print(":(")

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = []
for i in range(5):
  a.append(int(input()))
  
k = int(input())

for i in range(4):
  for j in range(i+1, 5):
    if a[j] - a[i] > k:
      print(":(")
else :
  print("Yay!")

Failing test case input:
1
0
9
0
5
3

Expected output:
:(


Actual output:
:(
:(
:(
:(
:(
Yay!


Fixed submission (verdict: Accepted):
def main(a):
  for i in range(4):
    for j in range(i+1, 5):
      if a[j] - a[i] > k:
        print(":(")
        return 
  else :
    print("Yay!")
    return

a = []
for i in range(5):
  a.append(int(input()))
  
k = int(input())
main(a)

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = [int(input()) for _ in range(5)]
K = int(input())
print('Yay' if A[4] - A[0] <= K else ':(')


Failing test case input:
1
0
4
8
18
29

Expected output:
Yay!


Actual output:
Yay


Fixed submission (verdict: Accepted):
A = [int(input()) for _ in range(5)]
K = int(input())
print('Yay!' if A[4] - A[0] <= K else ':(')
Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import stdin

i = [int(x) for x in stdin.readlines()]
j = i[-1]
i.pop()

if max(i)-min(i) > j:
  print(':(')
else:
  print('yay!')

Failing test case input:
1
0
4
8
9
15

Expected output:
Yay!


Actual output:
yay!


Fixed submission (verdict: Accepted):
from sys import stdin

i = [int(x) for x in stdin.readlines()]
j = i[-1]
i.pop()

if max(i)-min(i) > j:
  print(':(')
else:
  print('Yay!')

Problem: p03075
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())

if e - a > k:
  print(':(')
else:
  print('Yay')

Failing test case input:
1
-1
5
13
3
15

Expected output:
Yay!


Actual output:
Yay


Fixed submission (verdict: Accepted):
a = input()
b = input()
c = input()
d = input()
e = input()
k = input()
if int(e) - int(a) <= int(k):
  print('Yay!')
else:
  print(':(')
Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())
print((N-H+1)*(W-H+1))

Failing test case input:
100
0
3

Expected output:
9898


Actual output:
404


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())
print((N-H+1)*(N-W+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
print((n-int(input()))*(n-int(input())))

Failing test case input:
100
2
-14

Expected output:
11385


Actual output:
11172


Fixed submission (verdict: Accepted):
n=int(input())
print((n-int(input())+1)*(n-int(input())+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())
print((N-H+1)*N-(W+1))

Failing test case input:
3
-1
1

Expected output:
15


Actual output:
13


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())
print((N-H+1)*(N-W+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
a = int(input())
b = int(input())

ans = (n-a+1)+(n-b+1)

print(ans)

Failing test case input:
100
2
-30

Expected output:
12969


Actual output:
230


Fixed submission (verdict: Accepted):
n = int(input())
a = int(input())
b = int(input())

ans = (n-a+1)*(n-b+1)

print(ans)

Problem: p03155
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
print((n - int(input())) * (n - int(input())))

Failing test case input:
100
-7
-4

Expected output:
11340


Actual output:
11128


Fixed submission (verdict: Accepted):
n = int(input())
print((n - int(input()) + 1) * (n - int(input()) + 1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
h = int(input())
w = int(input())

print((n - (w + 1)) * (n - (h + 1)))

Failing test case input:
100
2
7

Expected output:
9306


Actual output:
8924


Fixed submission (verdict: Accepted):
n = int(input())
h = int(input())
w = int(input())

print((n - w + 1) * (n - h + 1))

Problem: p03155
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())
print((N-H-1)*(N-W-1))

Failing test case input:
100
-4
-1

Expected output:
10710


Actual output:
10300


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())
print((N-H+1)*(N-W+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,h,w=[int(input()) for _ in range(3)];print((n-1+h)*(n-1+w))

Failing test case input:
100
2
5

Expected output:
9504


Actual output:
10504


Fixed submission (verdict: Accepted):
n,h,w=[int(input()) for _ in range(3)];print((n+1-h)*(n+1-w))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
h = int(input())
w = int(input())
print((n-h+1)*(h-w+1))

Failing test case input:
100
-4
-1

Expected output:
10710


Actual output:
-210


Fixed submission (verdict: Accepted):
n = int(input())
h = int(input())
w = int(input())
print((n-h+1)*(n-w+1))
Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())

print ((N - H + 1) * (N - W - 1))

Failing test case input:
100
-1
-3

Expected output:
10608


Actual output:
10404


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())

print ((N - H + 1) * (N - W + 1))

Problem: p03155
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N=int(input())
H=int(input())
W=int(input())
print((N-H)*(N-W))

Failing test case input:
100
0
-6

Expected output:
10807


Actual output:
10600


Fixed submission (verdict: Accepted):
N=int(input())
H=int(input())
W=int(input())
print((N-H+1)*(N-W+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,h,w=[int(input()) for _ in range(3)]
print((n-h)*2+(n-w)*2)

Failing test case input:
100
2
18

Expected output:
8217


Actual output:
360


Fixed submission (verdict: Accepted):
n,h,w=[int(input()) for _ in range(3)]
print((n-h+1)*(n-w+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,h,w=[int(input()) for _ in range(3)]
print((n-h+1)+(n-w+1))

Failing test case input:
100
-11
1

Expected output:
11200


Actual output:
212


Fixed submission (verdict: Accepted):
n,h,w=[int(input()) for _ in range(3)]
print((n-h+1)*(n-w+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
h=int(input())
w=int(input())
print((h-n+1)*(w-n+1))

Failing test case input:
100
-7
-2

Expected output:
11124


Actual output:
10706


Fixed submission (verdict: Accepted):
n=int(input())
h=int(input())
w=int(input())
print((n-h+1)*(n-w+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, H, W = [int(input()) for _ in range(3)]
print((N - H) * (N - W))


Failing test case input:
100
4
4

Expected output:
9409


Actual output:
9216


Fixed submission (verdict: Accepted):
N, H, W = [int(input()) for _ in range(3)]
print((N - H + 1) * (N - W + 1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
  import sys
  n,h,w=map(int,open(0).read().split())
  ans=(n-h-1)*(n-w+1)
  print(ans)

Failing test case input:
100
0
21

Expected output:
8080


Actual output:

Fixed submission (verdict: Accepted):
def main():
  import sys
  n,h,w=map(int,open(0).read().split())
  ans=(n-h+1)*(n-w+1)
  print(ans)
if __name__=="__main__":
  main()

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
h = int(input())
w = int(input())
print((w-h+1)*(n-h+1))

Failing test case input:
100
1
7

Expected output:
9400


Actual output:
700


Fixed submission (verdict: Accepted):
n = int(input())
h = int(input())
w = int(input())
print((n-w+1)*(n-h+1))

Problem: p03155
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())
print((N - H) * (N - W))

Failing test case input:
100
-1
0

Expected output:
10302


Actual output:
10100


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())
print((N - H + 1) * (N - W + 1))
Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
h = int(input())
w = int(input())

print("type")
print(type(n))

yoko_num = n - h + 1
tate_num = n - w +1
ans = yoko_num * tate_num

print(ans)

Failing test case input:
100
8
0

Expected output:
9393


Actual output:
type
<class 'int'>
9393


Fixed submission (verdict: Accepted):
n = int(input())
h = int(input())
w = int(input())

yoko_num = n - h + 1
tate_num = n - w + 1
ans = yoko_num * tate_num

print(ans)

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
h=int(input())
w=int(input())
print((n-h)*(n-w))

Failing test case input:
100
0
1

Expected output:
10100


Actual output:
9900


Fixed submission (verdict: Accepted):
n=int(input())
h=int(input())
w=int(input())
print((n-h+1)*(n-w+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())
print((N-H+1)+(N-W+1))


Failing test case input:
3
4
3

Expected output:
0


Actual output:
1


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())
print((N-H+1)*(N-W+1))

Problem: p03155
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

n=int(input())
h=int(input())
w=int(input())
h -= (n-1)
w -= (n-1)
print(h*w)

Failing test case input:
3
5
6

Expected output:
2


Actual output:
12


Fixed submission (verdict: Accepted):

n=int(input())
h=int(input())
w=int(input())
s = n-h+1
t = n-w+1
print(s*t)

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())

print(int((H - N + 1) * (W - N + 1)))

Failing test case input:
100
0
11

Expected output:
9090


Actual output:
8712


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())
 
print(int((N - H + 1) * (N - W + 1)))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())

print((W-N+1)*(H-N+1))

Failing test case input:
100
-5
2

Expected output:
10494


Actual output:
10088


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())

print((N-W+1)*(N-H+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())

NH = 0
NW = 0

if(N - H != 0):
  NH = N - H + 1
  
if(N - W != 0):
  NW = N - W + 1
  
print(NH * NW)

Failing test case input:
3
2
3

Expected output:
2

Actual output:
0


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())

NH = 1
NW = 1

if(N - H != 0):
  NH = N - H + 1
if(N - W != 0):
  NW = N - W + 1

print(NH * NW)

Problem: p03155
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())
print((H-N+1)*(W-N+1))

Failing test case input:
100
9
1

Expected output:
9200


Actual output:
8820


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())
print((N-H+1)*(N-W+1))
Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
h=int(input())
w=int(input())

print((h-n+1)*(w-n+1))

Failing test case input:
100
-7
-4

Expected output:
11340


Actual output:
10918


Fixed submission (verdict: Accepted):
n=int(input())
h=int(input())
w=int(input())

print((n-h+1)*(n-w+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
  import sys
  n,h,w=map(int,open(0).read().split())
  ans=(n-h-1)*(n-w+1)
  print(ans)
if __name__=="__main__":
  main()

Failing test case input:
100
-7
1

Expected output:
10800


Actual output:
10600


Fixed submission (verdict: Accepted):
def main():
  import sys
  n,h,w=map(int,open(0).read().split())
  ans=(n-h+1)*(n-w+1)
  print(ans)
if __name__=="__main__":
  main()

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())

NH = 0
NW = 0

if(N - H != 0):
  NH = N - H + 1
if(N - W != 0):
  NW = N - W + 1

if(NH == 0 or NW == 0):
  print(NH + NW)
else:
  print(NH * NW)

Failing test case input:
3
3
3

Expected output:
1


Actual output:
0


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())

NH = 1
NW = 1

if(N - H != 0):
  NH = N - H + 1
if(N - W != 0):
  NW = N - W + 1

print(NH * NW)

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
H=int(input())
W=int(input())
H+=1-N
W+=1-N
print(H*W)

Failing test case input:
100
0
0

Expected output:
10201


Actual output:
9801


Fixed submission (verdict: Accepted):
N=int(input())
H=int(input())
W=int(input())
print((N-W+1)*(N-H+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
h = int(input())
w = int(input())
print(((n-h)+(n-w))*2 if h*w!=1 else n**2)

Failing test case input:
3
4
3

Expected output:
0


Actual output:
-2


Fixed submission (verdict: Accepted):
n = int(input())
h = int(input())
w = int(input())
print((n-h+1)*(n-w+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())
answer = (N-H+1) * (H-W+1)
print(answer)

Failing test case input:
100
0
11

Expected output:
9090


Actual output:
-1010


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())
answer = (N-H+1) * (N-W+1)
print(answer)

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
h = int(input())
w = int(input())
n = int(input())
print((h-n+1)*(w-n+1))

Failing test case input:
100
2
5

Expected output:
9504


Actual output:
-192


Fixed submission (verdict: Accepted):
n = int(input())
h = int(input())
w = int(input())
print((n-h+1)*(n-w+1))

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
h = int(input())
w = int(input())
print((n-h+1)*(n-h+1))

Failing test case input:
100
1
11

Expected output:
9000


Actual output:
10000


Fixed submission (verdict: Accepted):
n = int(input())
h = int(input())
w = int(input())
print((n-w+1)*(n-h+1))
Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
H = int(input())
W = int(input())

NH = 0
NW = 0

if(N - H != 0):
  NH = N - H + 1
  
if(N - W != 0):
  NW = N - W + 1
  
print(NH + NW)

Failing test case input:
3
1
1

Expected output:
9


Actual output:
6


Fixed submission (verdict: Accepted):
N = int(input())
H = int(input())
W = int(input())

NH = 1
NW = 1

if(N - H != 0):
  NH = N - H + 1
if(N - W != 0):
  NW = N - W + 1

print(NH * NW)

Problem: p03155
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())

d = a-b
c = a-c

print(d*c)

Failing test case input:
3
3
1

Expected output:
3


Actual output:
0


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())

d = a-b+1
c = a-c+1

print(d*c)
Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())
x=c-a
y=b-d
print(c+y,d-x,a+y,b-x)

Failing test case input:
0 -15 1 12

Expected output:
-26 13 -27 -14


Actual output:
-26 11 -27 -16


Fixed submission (verdict: Accepted):
a,b,c,d=map(int,input().split())
x=c-a
y=d-b
print(c-y,d+x,a-y,b+x)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2 = map(int,input().split())
k = abs(y2-y1)
m = abs(x2-x1)
print(x2-k,y2+m,x1-k,y1+m)

Failing test case input:
1 22 8 2

Expected output:
28 9 21 29


Actual output:
-12 9 -19 29


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 = map(int,input().split())
k = y2-y1
m = x2-x1
print(x2-k,y2+m,x1-k,y1+m)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


x1,y1,x2,y2 = map(int,input().split())

print(x1,y1,x2,y2)
tx = y1-y2
ty = x2-x1

print(x2+tx,y2+ty,x1+tx,y1+ty)

Failing test case input:
1 -46 1 12

Expected output:
-57 12 -57 -46


Actual output:
1 -46 1 12
-57 12 -57 -46


Fixed submission (verdict: Accepted):


x1,y1,x2,y2 = map(int,input().split())

tx = y1-y2
ty = x2-x1

print(x2+tx,y2+ty,x1+tx,y1+ty)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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)

Failing test case input:
2 12 8 5

Expected output:
15 11 9 18


Actual output:
14 -2 8 5


Fixed submission (verdict: Accepted):
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+b,y2+a,x1+b,y1+a)
    
  else:
    print(x2+b,y2-a,x1+b,y1-a)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2 = map(int,input().split())
x3 = x2 + y1 - y2
y3 = y2 + x2 - x1
x4 = x1 + y1 - y2
y4 = y1 + x2 - x1
print("x3","","y3","","x4","","y4")

Failing test case input:
1 6 8 5

Expected output:
9 12 2 13


Actual output:
x3  y3  x4  y4


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 = map(int,input().split())
x3 = x2 + y1 - y2
y3 = y2 + x2 - x1
x4 = x1 + y1 - y2
y4 = y1 + x2 - x1
print(x3,y3,x4,y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1, y1, x2, y2 = map(int, input().split())

diff_x = x2 - x1
diff_y = y2 - x2

x3 = x1 - diff_y
y3 = y1 + diff_x

x4 = x2 - diff_y
y4 = y2 + diff_x

print("{} {} {} {}".format(x3, y3, x4, y4))

Failing test case input:
0 -1 -1 2

Expected output:
-4 1 -3 -2


Actual output:
-3 -2 -4 1


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = map(int, input().split())

diff_x = x2 - x1
diff_y = y2 - y1

x4 = x1 - diff_y
y4 = y1 + diff_x

x3 = x2 - diff_y
y3 = y2 + diff_x

print("{} {} {} {}".format(x3, y3, x4, y4))
Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2=map(int,input().split())
print((y2-y1)+x2,-1*(x2-x1)+y2,-1*(y1-y2)+x1,(x1-x2)+y1)

Failing test case input:
2 6 8 5

Expected output:
9 11 3 12


Actual output:
7 -1 1 0


Fixed submission (verdict: Accepted):
x1,y1,x2,y2=map(int,input().split())
print(-1*(y2-y1)+x2,(x2-x1)+y2,(y1-y2)+x1,-1*(x1-x2)+y1)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

x1, y1, x2, y2 = map(int, input().split())
dx = x2 - x1
dy = y2 - y1

x3 = x2 - dy
y3 = y2 + dx
 
x4 = x3 - dx
y4 = y3 - dy

Failing test case input:
-1 0 1 4

Expected output:
-3 6 -5 2


Actual output:

Fixed submission (verdict: Accepted):

x1, y1, x2, y2 = map(int, input().split())
dx = x2 - x1
dy = y2 - y1

x3 = x2 - dy
y3 = y2 + dx
 
x4 = x3 - dx
y4 = y3 - dy

print(x3, y3, x4, y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())
l=[0]*4
l[0]=c+b-d
l[1]=d-(a-c)
l[2]=l[0]+a-c
l[3]=l[1]-(b-d) 
for i in range(3):
    print(l[i],end=' ')
print(l[3])

Failing test case input:
-1 -2 0 3

Expected output:
-5 4 -6 -1


Actual output:
-5 4 -6 9


Fixed submission (verdict: Accepted):
a,b,c,d=map(int,input().split())
l=[0]*4
l[0]=c+b-d
l[1]=d-(a-c)
l[2]=l[0]+a-c
l[3]=l[1]+(b-d) 
for i in range(3):
    print(l[i],end=' ')
print(l[3])

Problem: p03265
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x1,y1,x2,y2 =map(int,input().split())
x3 = x2-(y2-y1)
y3 = y2-(x2-x1)
x4 = x1-(y2-y1)
y4 = y1-(x2-x1)
print(x3,y3,x4,y4)

Failing test case input:
-2 -2 -1 11

Expected output:
-14 12 -15 -1


Actual output:
-14 10 -15 -3


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 =map(int,input().split())
x3 = x2-(y2-y1)
y3 = y2+(x2-x1)
x4 = x1-(y2-y1)
y4 = y1+(x2-x1)
print(x3,y3,x4,y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())
x=c-a
y=d-b
print(c+y,d-x,a+y,b-x)

Failing test case input:
-2 -1 -1 11

Expected output:
-13 12 -14 0


Actual output:
11 10 10 -2


Fixed submission (verdict: Accepted):
a,b,c,d=map(int,input().split())
x=c-a
y=d-b
print(c-y,d+x,a-y,b+x)

Problem: p03265
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x1,y1,x2,y2 = map(int,input().split())

dx = x1 - x2 
dy = y1 - y2 

x3,y3 = x2 - dy,y2 - dx
x4,y4 = x3 + dx,y3 + dy

print(x3,y3,x4,y4)

Failing test case input:
0 -1 2 3

Expected output:
-2 5 -4 1


Actual output:
6 5 4 1


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 = map(int,input().split())

dx = x1 - x2 
dy = y1 - y2 

x3,y3 = x2 + dy,y2 - dx
x4,y4 = x3 + dx,y3 + dy

print(x3,y3,x4,y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math

x1,y1,x2,y2=map(int, input().split())



buf1=x2-x1
buf2=y2-y1

print(buf1,buf2)

print(x2-buf2,y2+buf1,x1-buf2,y1+buf1)

Failing test case input:
2 3 3 3

Expected output:
3 4 2 4


Actual output:
1 0
3 4 2 4


Fixed submission (verdict: Accepted):
import math

x1,y1,x2,y2=map(int, input().split())



buf1=x2-x1
buf2=y2-y1

print(x2-buf2,y2+buf1,x1-buf2,y1+buf1)
Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2 = list(map(int,input().split()))
xdis = x2-x1
ydis = y2-y1
print(x2-ydis,y2+xdis,x1-xdis,y1+ydis)

Failing test case input:
6 2 6 3

Expected output:
5 3 5 2


Actual output:
5 3 6 3


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 = list(map(int,input().split()))
xdis = x2-x1
ydis = y2-y1
print(x2-ydis,y2+xdis,x1-ydis,y1+xdis)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1, y1, x2, y2 = map(int, input().split())

x = x2 - x1
y = y2 - y1
print(y2 - y, y2 + x, x1 - y, y1 + x)


Failing test case input:
6 2 6 3

Expected output:
5 3 5 2


Actual output:
2 3 5 2


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = map(int, input().split())

x = x2 - x1
y = y2 - y1
print(x2 - y, y2 + x, x1 - y, y1 + x)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())

x = a-(d-b)
y = b+(c-a)
z = x+(c-a)
w = y+(d-b)

print(x,y,z,w)


Failing test case input:
0 22 3 3

Expected output:
22 6 19 25


Actual output:
19 25 22 6


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())

x = a-(d-b)
y = b+(c-a)
z = x+(c-a)
w = y+(d-b)

print(z,w,x,y)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1, y1, x2, y2 = map(int,input().split())

a, b = x2 - x1, y2 - y1
x3, y3 = x2 - a, y2 - b
x4, y4 = x1 - b, y1 - a

print(x3, y3, x4, y4)

Failing test case input:
-2 -1 0 11

Expected output:
-12 13 -14 1


Actual output:
-2 -1 -14 -3


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = map(int,input().split())

a, b = x2 - x1, y2 - y1
x3, y3 = x2 - b, y2 + a
x4, y4 = x3 - a, y3 - b

print(x3, y3, x4, y4)

Problem: p03265
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

import math
x1,y1,x2,y2 = map(int,input().split())
x = x1-x2
y = y1-y2

print(x2+y,y2+x,x1+y,y1+x)


Failing test case input:
31 -41 -59 26

Expected output:
-126 -64 -36 -131

Actual output:
-126 116 -36 49


Fixed submission (verdict: Accepted):

import math
x1,y1,x2,y2 = map(int,input().split())
x = x2-x1
y = y2-y1

print(x2-y,y2+x,x1-y,y1+x)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2=map(int,input().split())
x3=x2+y2-y1
y3=y2-x2+x1
x4=x1+y2-y1
y4=y1-x2+x1
print(x3,y3,x4,y4)

Failing test case input:
0 -1 2 4

Expected output:
-3 6 -5 1


Actual output:
7 2 5 -3


Fixed submission (verdict: Accepted):
x1,y1,x2,y2=map(int,input().split())
x3=x2-y2+y1
y3=y2+x2-x1
x4=x1-y2+y1
y4=y1+x2-x1
print(x3,y3,x4,y4)

Problem: p03265
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
x1, y1, x2, y2 = map(int, input().split())
x = x2 - x1
y = y2 - y1
x3 = x2-y
y3 = y2+x
x4 = x1-y
y4 = y1+x
print(x, y)
print(x3, y3, x4, y4)

Failing test case input:
-2 -1 -1 11

Expected output:
-13 12 -14 0


Actual output:
1 12
-13 12 -14 0


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = map(int, input().split())
x = x2 - x1
y = y2 - y1
x3 = x2-y
y3 = y2+x
x4 = x1-y
y4 = y1+x
print(x3, y3, x4, y4)
Problem: p03265
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x1,y1,x2,y2 = map(int,input().split())
diffy = abs(x2-x1)
diffx = abs(y2-y1)
print(x2-diffx,y2+diffy,x1-diffx,y1+diffy)

Failing test case input:
2 6 8 5

Expected output:
9 11 3 12


Actual output:
7 11 1 12


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 = map(int,input().split())
diffy = x2-x1
diffx = y2-y1

print(x2-diffx,y2+diffy,x1-diffx,y1+diffy)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

import sys
import copy
import collections
from bisect import bisect_left
	
def main():
	X = input().split(" ")
	X = [int(s) for s in X]
	
	dx = abs(X[0] - X[2])
	dy = abs(X[1] - X[3])
	
	ans = "{} {} {} {}".format(X[2]-dy, X[3]+dx, X[0]-dy, X[1]+dx)
	print(ans)
	
if __name__ == "__main__":
	main()


Failing test case input:
1 0 -1 5

Expected output:
-6 3 -4 -2


Actual output:
-6 7 -4 2


Fixed submission (verdict: Accepted):

import sys
import copy
import collections
from bisect import bisect_left
	
def main():
	X = input().split(" ")
	X = [int(s) for s in X]
	
	dx = X[2] - X[0]
	dy = X[3] - X[1]
	
	ans = "{} {} {} {}".format(X[2]-dy, X[3]+dx, X[0]-dy, X[1]+dx)
	print(ans)
	
if __name__ == "__main__":
	main()

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1, y1, x2, y2 = map(int, input().split())
X = x2 - x1
Y = y2 - y1

if x2 > x1 or y2 > y1:
  x3, y3 = x2 - Y, y2 + X
  x4, y4 = x3 - X, y3 - Y

else:
  x3, y3 = x2 + Y, y2 - X
  x4, y4 = x3 + X, y3 + Y

print(x3, y3, x4, y4)

Failing test case input:
4 5 3 3

Expected output:
5 2 6 4


Actual output:
1 4 0 2


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = map(int, input().split())
X = x2 - x1
Y = y2 - y1

if x2 > x1 or y2 > y1:
  x3, y3 = x2 - Y, y2 + X
  x4, y4 = x3 - X, y3 - Y

else:
  x3, y3 = x2 + abs(Y), y2 + X
  x4, y4 = x3 - X, y3 + abs(Y)

print(x3, y3, x4, y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1, y1, x2, y2 = map(int, input().split())
x = x2 - x1
y = y2 - y1
x3 = x2 + y
y3 = y2 - x
x4 = y1 - y
y4 = y1 + x
print(x3, y3, x4, y4)

Failing test case input:
2 2 3 3

Expected output:
2 4 1 3


Actual output:
4 2 1 3


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = map(int, input().split())
x = x2 - x1
y = y2 - y1
x3 = x2 - y
y3 = y2 + x
x4 = x1 - y
y4 = y1 + x
print(x3, y3, x4, y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1, y1, x2, y2 = map(int, input().split())
print(x2+y2-y1, y2+x2-x1, x1+y1-y2, y1+x1-x2)

Failing test case input:
4 3 3 3

Expected output:
3 2 4 2


Actual output:
3 2 4 4


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = map(int, input().split())
print(x2-y2+y1, y2+x2-x1, x1+y1-y2, y1-x1+x2)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1, y1, x2, y2 = list(map(int, input().split()))
d = abs(x2-x1) + abs(y2-y1)
print(x2-d,y2,x1-d,y1)


Failing test case input:
-8 0 0 11

Expected output:
-11 19 -19 8


Actual output:
-19 11 -27 0


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = list(map(int, input().split()))
dx = x2 - x1
dy = y2 - y1
print(x2-dy, y2+dx, x1-dy, y1+dx)
Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1, y1, x2, y2 = map(int, input().split())
dx = x2 - x1
dy = y2 - y1
print(x2 - dy, y2 + dx, x1 - dy, x2 + dx)

Failing test case input:
-2 -2 -1 10

Expected output:
-13 11 -14 -1


Actual output:
-13 11 -14 0


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = map(int, input().split())
dx = x2 - x1
dy = y2 - y1
print(x2 - dy, y2 + dx, x1 - dy, y1 + dx)

Problem: p03265
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x1,y1,x2,y2 = map(int,input().split())

dx = x1 - x2 
dy = y1 - y2 

x3,y3 = y2 - dy,x2 - dx
x4,y4 = x3 + dx,y3 + dy

print(x3,y3,x4,y4)


Failing test case input:
-1 -4 -1 10

Expected output:
-15 10 -15 -4


Actual output:
24 -1 24 -15


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 = map(int,input().split())

dx = x1 - x2 
dy = y1 - y2 

x3,y3 = x2 + dy,y2 - dx
x4,y4 = x3 + dx,y3 + dy

print(x3,y3,x4,y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1, y1, x2, y2 = map(int,input().split())
x3 = x2 - abs(y2 - y1)
y3 = y2 + x2 - x1
x4 = x1 - abs(y2 - y1)
y4 = y1 + x2 - x1
print(x3, y3, x4, y4)

Failing test case input:
0 22 3 0

Expected output:
25 3 22 25


Actual output:
-19 3 -22 25


Fixed submission (verdict: Accepted):
x1, y1, x2, y2 = map(int,input().split())
x3 = x2 - (y2 - y1)
y3 = y2 + (x2 - x1)
x4 = x1 - (y2 - y1)
y4 = y1 + (x2 - x1)
print(x3, y3, x4, y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())

x ,y = c - a, d - b
print(a - y, b + x, c - y , c + x)

Failing test case input:
2 2 6 2

Expected output:
6 6 2 6


Actual output:
2 6 6 10


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())

x ,y = c - a, d - b
print(c - y, d + x, a - y , b + x)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2=[int(i) for i in input().split()]

dx = x2 - x1
dy = y2 - y1

print(x2-dy,y2+dy,x1-dy,y1+dx)

Failing test case input:
0 22 3 3

Expected output:
22 6 19 25


Actual output:
22 -16 19 25


Fixed submission (verdict: Accepted):
x1,y1,x2,y2=[int(i) for i in input().split()]

dx = x2 - x1
dy = y2 - y1

print(x2-dy,y2+dx,x1-dy,y1+dx)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2 = map(int,input().split())
a = y2-y1
x3 = x4 = x1-a
y3 = y2
y4 = y1
print(x3,y3,x4,y4)

Failing test case input:
-4 -1 0 11

Expected output:
-12 15 -16 3


Actual output:
-16 11 -16 -1


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 = map(int,input().split())
a = x2-x1
b = -(y2-y1)
x3 = x2+b
y3 = y2+a
x4 = x3-a
y4 = y3+b
print(x3,y3,x4,y4)
Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = list(map(int,input().split()))

p1 = (int(n[0]) + int(n[1]) * 1j)
p2 = (int(n[2]) + int(n[3]) * 1j)

p3 = (p1 - p2) * 1j + p2
p4 = p3 + (p1 - p2)

print(p3.real, p3.imag, p4.real, p4.imag)

Failing test case input:
1 0 1 4

Expected output:
-3 4 -3 0


Actual output:
5.0 4.0 5.0 0.0


Fixed submission (verdict: Accepted):
n = list(map(int,input().split()))

p1 = (int(n[0]) + int(n[1]) * 1j)
p2 = (int(n[2]) + int(n[3]) * 1j)

p3 = (p2 - p1) * 1j + p2
p4 = p3 + (p1 - p2)

print(int(p3.real), int(p3.imag), int(p4.real), int(p4.imag))

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2=map(int,input().split())
a=x2-x1
b=y2-y1
x3=x2+b
y3=y2-a
x4=x3-a
y4=y3-b
print("{} {} {} {}".format(x3,y3,x4,y4))

Failing test case input:
-1 -1 0 4

Expected output:
-5 5 -6 0


Actual output:
5 3 4 -2


Fixed submission (verdict: Accepted):
x1,y1,x2,y2=map(int,input().split())
a=x2-x1
b=y2-y1
x3=x2-b
y3=y2+a
x4=x1-b
y4=y1+a
print(x3,y3,x4,y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2=map(int,input().split())
a=x2-x1
b=y2-y1
x3=x2+b
y3=y2-a
x4=x3-a
y4=y3-b
print(x3,y3,x4,y4)

Failing test case input:
-3 -1 0 11

Expected output:
-12 14 -15 2


Actual output:
12 8 9 -4


Fixed submission (verdict: Accepted):
x1,y1,x2,y2=map(int,input().split())
a=x2-x1
b=y2-y1
x3=x2-b
y3=y2+a
x4=x1-b
y4=y1+a
print(x3,y3,x4,y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2 = map(int,input().split())
x4 = x1+y1-y2
y4 = x2-x1+y1
x3 = x2+y1-y2
y3 = x2-x1+y1
print(x3,y3,x4,y4)

Failing test case input:
-6 -2 0 11

Expected output:
-13 17 -19 4


Actual output:
-13 4 -19 4


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 = map(int,input().split())
x4 = x1+y1-y2
y4 = x2-x1+y1
x3 = x2+y1-y2
y3 = x2-x1+y2
print(x3,y3,x4,y4)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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)
    

Failing test case input:
1 22 8 2

Expected output:
28 9 21 29


Actual output:
15 22 8 42


Fixed submission (verdict: Accepted):
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+b,y2+a,x1+b,y1+a)
    
  else:
    print(x2+b,y2-a,x1+b,y1-a)

Problem: p03265
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x1,y1,x2,y2 = (int(i) for i in input().split())
x3 = x2 + (y1-y2)
y3 = y2 + (x1-x2)
x4 = x3 + (x1-x2)
y4 = y3 + (y1-y2)
print(x3,y3,x4,y4)

Failing test case input:
2 2 6 2

Expected output:
6 6 2 6


Actual output:
6 -2 2 -2


Fixed submission (verdict: Accepted):
x1,y1,x2,y2 = (int(i) for i in input().split())
x3 = x2 + (y1-y2)
y3 = y2 + (x2-x1)
x4 = x3 + (x1-x2)
y4 = y3 + (y1-y2)
print(x3,y3,x4,y4)