ZhenlongDai/ACPR huggingface dataset:
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input().split())

if N > M:
    print('Yes')
else:
    print('No')

Failing test case input:
0 -76

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):

N, M = map(int, input().split())

if N > M:
    print('No')
else:
    print('Yes')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m=input().split()
if n==m:
    print("AC")
else:
    print("WA")

Failing test case input:
-4 -86

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n, m=input().split()
if n==m:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input()
b=a.split()
if int(b[0])==int(b[1]):
  print('yes')
else:
  print('no')

Failing test case input:
0 -64

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
a=input()
b=a.split()
if int(b[0])==int(b[1]):
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
input = sys.stdin.readline
N,M = [int(i) for i in input().split()]
if N == M :
    print("AC")
else :
    print("WA")

Failing test case input:
-8 -21

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline
N,M = [int(i) for i in input().split()]
if N == M :
    print("Yes")
else :
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
arr = set(map(int, input().split()))
print('AC' if len(arr) == 1 else 'WA')


Failing test case input:
0 -46

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
arr = set(map(int, input().split()))
print('Yes' if len(arr) == 1 else 'No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n , m = input().split()
if n == m:
    print("AC")
else :
    print("WA")


Failing test case input:
0 -50

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):

n , m = input().split()
if n == m:
    print("Yes")
else :
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = input().split()
print("Yes" if N <= M else "No")

Failing test case input:
-4 -86

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N, M = input().split()
print("Yes" if N == M else "No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = input().split()

if  x == y:
  print('Yes')
elif x > y:
  print('No')

Failing test case input:
-1 -86

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
x, y = input().split()

if  x == y:
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n , m = map(int , input() . split())
if n == n :
    print('Yes')
else :
    print('No')

Failing test case input:
0 -64

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
n , m = map(int , input() . split())
if n == m :
    print('Yes')
else :
    print('No')
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = map(int, input().split())
if n <= m:
    print('Yes')
else:
    print('NO')


Failing test case input:
1 -63

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
n, m = map(int, input().split())
if n <= m:
    print('Yes')
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M=[int(i) for i in input().split()]
print("AC" if N==M else "WA")

Failing test case input:
-8 -13

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
N,M=[int(i) for i in input().split()]
print("Yes" if N==M else "No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(int, input().split())
print('AC' if n == m else 'WA')

Failing test case input:
1 -63

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n,m = map(int, input().split())
print('Yes' if n == m else 'No')

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



from collections import defaultdict
import sys
import math
from datetime import datetime

def sol(a, b):
    return a == b
    
    



do_submit = True


def input_parse(input_str):
    lines = [x.strip() for x in input_str.split("\n") if x.strip()]
    parsed_lines = [list(map(str, line.split())) for line in lines]
    print(parsed_lines)
    n = int(parsed_lines[0][0])
    k = int(parsed_lines[0][1])
    S = parsed_lines[1][0]
    return n, k, S


if not do_submit:
    a, b, c = input_parse()
    print(sol(a, b, c))

    a, b, c = input_parse()
    print(sol(a, b, c))

else:
    a, b = list(map(int, input().split()))
    
    
    
    
    print(sol(a, b))
    
    



Failing test case input:
0 -50

Expected output:
No


Actual output:
False


Fixed submission (verdict: Accepted):



from collections import defaultdict
import sys
import math
from datetime import datetime

def sol(a, b):
    return "Yes" if a == b else "No"
    
    



do_submit = True


def input_parse(input_str):
    lines = [x.strip() for x in input_str.split("\n") if x.strip()]
    parsed_lines = [list(map(str, line.split())) for line in lines]
    print(parsed_lines)
    n = int(parsed_lines[0][0])
    k = int(parsed_lines[0][1])
    S = parsed_lines[1][0]
    return n, k, S


if not do_submit:
    a, b, c = input_parse()
    print(sol(a, b, c))

    a, b, c = input_parse()
    print(sol(a, b, c))

else:
    a, b = list(map(int, input().split()))
    
    
    
    
    print(sol(a, b))

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input().split())
print("True" if N ==M else "False")

Failing test case input:
0 -50

Expected output:
No


Actual output:
False


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
print("Yes" if N ==M else "No")
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M=input().split()
if N==M:
  print('YES')
else:
  print('NO')


Failing test case input:
0 -50

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N, M=map(int, input().split())
if N==M:
  print('Yes')
else:
  print('No')

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

N, M = map(int,input().split())
if N == M:
    print("AC")
else:
    print("WA")

Failing test case input:
-1 -102

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):

N, M = map(int,input().split())
if N == M:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M=map(int,input().split(" "))
if N==M:
    print("AC")
else:
    print("WA")

Failing test case input:
0 -15

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
N,M=map(int,input().split(" "))
if N==M:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n,m = map(int, input().split())

if(n == m):
  print("AC")
else:
  print("WA")

Failing test case input:
0 -27

Expected output:
No


Actual output:
WA


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

if(n == m):
  print("Yes")
else:
  print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m=map(int,input().split())
if n==m:
  print('AC')
else:
  print('WA')

Failing test case input:
-2 -102

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n,m=map(int,input().split())
if n==m:
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N,M=map(int,input().split())
if(M==M):
  print('Yes')
else:
  print('No')

Failing test case input:
0 -92

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N,M=map(int,input().split())
if(N==M):
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M = (int(x) for x in input().split())
if N == M:
  print("yes")
else:
  print("no")

Failing test case input:
-1 -64

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
N,M = (int(x) for x in input().split())
if N == M:
  print("Yes")
else:
  print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if b<a:
  print("NO")
else:
  print("YES")

Failing test case input:
0 -46

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if b<a:
	print("No")
else:
	print("Yes")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input().split())
if N >= M: print('Yes')
else: print('No')

Failing test case input:
-1 -64

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
if N == M: print('Yes')
else: print('No')
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(int, input().split())
if (n==m):
  print("yes")
else: 
  print("no")

Failing test case input:
-8 -10

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
n,m = map(int,input().split())
if n==m:
  print("Yes")
else:
  print("No")

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

N,M = input().split()
N,M = int(N), int(M)

if(N == M):
    print('yes')
else:
    print('no')

Failing test case input:
-1 -56

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):

N,M = input().split()
N,M = int(N), int(M)

if(N == M):
    print('Yes')
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(int, input().split())
if n == m:
    print("AC")
else:
    print("WA")

Failing test case input:
-2 -86

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n,m = map(int, input().split())
if n == m:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = input().split()
 
if N==M :
  print('YES')
else:
  print('NO')

Failing test case input:
0 -76

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N, M = input().split()
 
if N==M:
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N , M= map(int, input().split())
 
if N==M:
    print("yes")
else:
    print("no")

Failing test case input:
0 -92

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
N , M=map(int,input().split())



if N==M:
    print("Yes")

        
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m=map(int,input().split())
print("Yes" if n==m else "NO")

Failing test case input:
-2 -102

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
n,m=map(int,input().split())
print("Yes" if n==m else "No")

Problem: p02789
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n,m = map(int,input().split())
if n == m:
    print("Yes")
else:
    print("no")

Failing test case input:
-1 -64

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
n,m = map(int,input().split())
if n == m:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M = map(int,input().split())

if (N==M):
    print("Yes")
elif(N!=M):
    print("NO")
    


Failing test case input:
-8 -10

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N,M = map(int,input().split())

if (N==M):
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N,M=map(int,input().split())
if(N==M):
  print("AC")
else:
  print("WA")

Failing test case input:
-2 -102

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
N,M=map(int,input().split())
if(N==M):
  print("Yes")
else:
  print("No")
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
if __name__=='__main__':
  NM=input().split()
  N,M=int(NM[0]),int(NM[1])
  print('YES' if N>=M else 'NO')
 

Failing test case input:
-8 -19

Expected output:
No


Actual output:
YES


Fixed submission (verdict: Accepted):
if __name__=='__main__':
  NM=input().split()
  N,M=int(NM[0]),int(NM[1])
  print('Yes' if N<=M else 'No')

Problem: p02789
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,m=map(int,input().split())
if(n==m):
    print("yes")
else:
    print("no")

Failing test case input:
-8 -21

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
n,m=map(int,input().split())
if(n==m):
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
nm = input().split()

n = nm[0]
m = nm[1]

if n > m :
	print('No')
else:
	print('Yes')



Failing test case input:
-2 -86

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
nm = input().split(' ')

n = int(nm[0])
m = int(nm[1])

if n > m :
	print('No')
else:
	print('Yes')

Problem: p02789
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n,m = map(int,input().split())
print(n,m)
if n == m :
    print("Yes")
else :
    print("No")

Failing test case input:
0 -92

Expected output:
No


Actual output:
0 -92
No


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

if n == m :
    print("Yes")
else :
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m=map(int,input().split())
if m>=n:
  print('YES')
else:
  print('NO')

Failing test case input:
-2 -102

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
n,m=map(int,input().split())
if m==n:
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M = [int(i) for i in input().split()]
if N==M:
  print("YES")
else:
  print("NO")

Failing test case input:
0 -92

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N,M = [int(i) for i in input().split()]
if N==M:
  print("Yes")
else:
  print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m=map(int,input().split())
if n==m:
  print("yes")
else:
  print("no")

Failing test case input:
-1 -64

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
N,M=map(int,input().split())
if N==M:
  print("Yes")
else:
  print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m=map(int,input().split())
if n>=m:
    print("Yes")
else:
    print('No')

Failing test case input:
0 -15

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
n,m=map(int,input().split())
if n==m:
    print("Yes")
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k = map(int,input().split())
print("AC" if n == k else "WA")

Failing test case input:
-8 -13

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n,k = map(int,input().split())
print("Yes" if n == k else "No")
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
I = input().split(' ')
N = int(I[0])
M = int(I[1])

if M >= N:
  print('yes')
else:
  print('no')

Failing test case input:
0 -15

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
I = input().split(' ')
N = int(I[0])
M = int(I[1])
 
if M >= N:
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(lambda x: int(x),input().split())

if n == m :
    print('AC')
else :
    print('WA')


Failing test case input:
-4 -86

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n,m = map(lambda x: int(x),input().split())

if n == m :
    print('Yes')
else :
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M = map(int,input().split())

if (N==M):
    print("Yes")
else:
    print("NO")



Failing test case input:
-8 -9

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N,M = map(int,input().split())

if (N==M):
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M=map(int,input().split())

if N==M:
    print("AC")
else:
    print("WA")

Failing test case input:
0 -15

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
N,M=map(int,input().split())

if N==M:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M=map(int,input().split())
if N==M:
    print("YES")
else:
    print("NO")

Failing test case input:
-1 -86

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N,M=map(int,input().split())
if N==M:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
M, N = input().split()
M = int(M)
N = int(N)

if M == N:
  print("YES")
else:
  print("NO")

Failing test case input:
0 -50

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
M, N = input().split()
M = int(M)
N = int(N)

if M == N:
  print("Yes")
else:
  print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
nm = input().split(' ')

n = int(nm[0])
m = int(nm[1])
print(n)
print(m)

if n > m :
	print('No')
else:
	print('Yes')



Failing test case input:
0 -36

Expected output:
No


Actual output:
0
-36
No


Fixed submission (verdict: Accepted):
nm = input().split(' ')

n = int(nm[0])
m = int(nm[1])

if n > m :
	print('No')
else:
	print('Yes')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K = map(int,input().split())
if N==K:
    print('yes')

else:
    print('no')

Failing test case input:
-8 -9

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
N,K = map(int,input().split())
if N==K:
    print('Yes')

else:
    print('No')
Problem: p02789
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
def main():
    n, m = list(map(int, input().split()))
    if n == m:
        print("YES")
    else:
        print("NO")
if __name__ == "__main__":
    main()

Failing test case input:
0 -63

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
def main():
    n, m = list(map(int, input().split()))
    if n == m:
        print("Yes")
    else:
        print("No")
if __name__ == "__main__":
    main()

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input().split())
print('AC' if N == M else 'WA')

Failing test case input:
-8 -21

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
print('Yes' if N == M else 'No')

Problem: p02789
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N, M = map(int, input().split())
if N == M:
  print("YES")
else :
  print("NO")

Failing test case input:
1 -63

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
if N == M:
  print("Yes")
else :
  print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math,sys
from collections import Counter, defaultdict, deque
from sys import stdin, stdout
input = stdin.readline
lili=lambda:list(map(int,sys.stdin.readlines()))
li = lambda:list(map(int,input().split()))

I=lambda:int(input())
S=lambda:input().strip()
mod = 1000000007

a,b=li()
if(a==b):
    print("Yes")
else:
    print("NO")


Failing test case input:
-8 -21

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
import math,sys
from collections import Counter, defaultdict, deque
from sys import stdin, stdout
input = stdin.readline
lili=lambda:list(map(int,sys.stdin.readlines()))
li = lambda:list(map(int,input().split()))

I=lambda:int(input())
S=lambda:input().strip()
mod = 1000000007

a,b=li()
if(a==b):
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
  N, M  = input().split()
  if N == M:
    print("YES")
  else:
    print("NO")
main()


Failing test case input:
-1 -64

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
def main():
  N, M  = input().split()
  if N == M:
    print("Yes")
  else:
    print("No")
main()

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
b, c = map(int , input().split())
print("Yes") if b == c else print("NO")

Failing test case input:
0 -15

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
b, c = map(int, input().split())
print("Yes") if b == c else print("No")
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
N,M=map(int, input().split())

if N<=100 and N>=1:
  if M==N:
    print("YES")
    sys.exit()
print("NO")
sys.exit()

Failing test case input:
-8 -10

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
import sys
N,M=map(int, input().split())

if N<=100 and N>=1:
  if M==N:
    print("Yes")
    sys.exit()
print("No")
sys.exit()

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def read_ints(row):
    return list(map(int, row().split()))
  
import sys

row =sys.stdin.readline
N,M = read_ints(row)
print(N == M)

Failing test case input:
-4 -86

Expected output:
No


Actual output:
False


Fixed submission (verdict: Accepted):
def read_ints(row):
    return list(map(int, row().split()))
  
import sys
 
row =sys.stdin.readline
N,M = read_ints(row)
print("Yes" if N == M else "No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M=map(int,input().split())
if N==M:
  print("YES")
else:
  print("NO")
    

Failing test case input:
0 -27

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N,M=map(int,input().split())
if N==M:
  print("Yes")
else:
  print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
input_nm = input().split(' ')
if input_nm[0] == input_nm[1] :
  print('yes')
else:
  print('no')


Failing test case input:
-1 -86

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
input_nm = input().split(' ')
if input_nm[0] == input_nm[1] :
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n, m = map(int, input().split())

if n == m:
    print('AC')

elif n != m:
    print('WA')


Failing test case input:
-1 -102

Expected output:
No


Actual output:
WA


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

if n == m:
    print('Yes')

elif n > m:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input().split())
if N == M:
    print('YES')
else:
    print('NO')


Failing test case input:
0 -50

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
if N == M:
    print('Yes')
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m=list(map(int,input().split()))
if n==m:
    print("AC")

else:
    print("WA")

Failing test case input:
-1 -56

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n,m=list(map(int,input().split()))
if n==m:
    print("Yes")

else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = map(int, input().split())
if n == m:
  print("Yes")
else:
  print("no")

Failing test case input:
0 -92

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
n, m = map(int, input().split())
if n <= m:
  print("Yes")
else:
  print("No")
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int,input().split())
print("Yes") if N == N else print("No")

Failing test case input:
-4 -86

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
print("Yes") if N == M else print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(int,input().split())
if n==m:
    print("AC")
else:
    print("WA")

Failing test case input:
0 -63

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n,m = map(int,input().split())
if n==m:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input().split())
if N == M:
    print("AC")
else:
    print("WA")


Failing test case input:
-8 -13

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
if N == M:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
m ,n = map(int,input().split())
if m == n:
    print('Yes')
else:
    print('no')

Failing test case input:
0 -15

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
m ,n = map(int,input().split())
if m == n:
    print('Yes')
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = input().split()
 
if l[0] == l[1]:
  print('YES')
else:
  print('NO')

Failing test case input:
0 -54

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
ls = [int(i) for i in input().split()]

if ls[0] == ls[1]:
  print('Yes')
else :
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M=input().split()

if N>M:
  print("No")
else:
  print("Yes")

Failing test case input:
-1 -64

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N,M=map(int,input().split())

if N>M:
  print("No")
else:
  print("Yes")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
  a,b = map(int,input().split())
  ans = check(a,b)
  print(ans)
  
def check(n,m):
  if n == m:
    return True
  else:
    return False
main()

Failing test case input:
-1 -86

Expected output:
No


Actual output:
False


Fixed submission (verdict: Accepted):
def main():
  a,b = map(int,input().split())
  ans = check(a,b)
  print(ans)
  
def check(n,m):
  if n == m:
    return "Yes"
  else:
    return "No"
main()

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






n, m = map(int, input().split())

if n == m:
    print('AC')
else:
    print('WA')

Failing test case input:
-2 -102

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):






n, m = map(int, input().split())

if n == m:
    print('Yes')
else:
    print('No')
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input().split())

if N > M:
    print('Yes')
else:
    print('No')


Failing test case input:
-1 -86

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())

if N > M:
    print('No')
else:
    print('Yes')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
m,n = input().split(" ")
if m == n:
    print("YES")
else:
    print("NO")    

Failing test case input:
-2 -86

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
m,n = input().split(" ")
if m == n:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N, M = map(int, input().split())

if N-M == 0:
    print('AC')
else:
    print('WA')

Failing test case input:
-8 -13

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
 
if N-M == 0:
    print('Yes')
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = input().split(" ")
if M == N:
  print("Yes")
elif M < N:
  print("No")

Failing test case input:
-2 -86

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
N, M = input().split(" ")
if M == N:
  print("Yes")
else:
  print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N_M = input().split() 
N = int(N_M[0])
M = int(N_M[1])

if M == N:
	print('yes')
else:
	print('no')


Failing test case input:
0 -15

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
N_M = input().split() 
N = int(N_M[0])
M = int(N_M[1])

if M == N:
	print('Yes')
else:
	print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = input().split()
a = int(a)
b = int(b)
if a == b:
    print('YES')
else:
    print('NO')


Failing test case input:
-4 -86

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
a, b = input().split()
a = int(a)
b = int(b)
if a == b:
    print('Yes')
else:
    print('No')

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

A,B=map(int,input().split())


if A==B:
    print("AC")
else:
    print("WA")

Failing test case input:
0 -92

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):

A,B=map(int,input().split())


if A==B:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A,B=map(int,input().split())
print("YES" if A==B else "NO")

Failing test case input:
-1 -86

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
A,B=map(int,input().split())
print("Yes" if A==B else "No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split(' '))
if a == b:
    print("yes")
else:
    print("no")


Failing test case input:
-1 -102

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
a,b = map(int,input().split(' '))
if a == b:
    print("Yes")
else:
    print("No")
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = (int(x) for x in input().split())
if n == m:
    print('Yes')
else:
    print('no')

Failing test case input:
0 -76

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
n, m = (int(x) for x in input().split())
if n == m:
    print('Yes')
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = map(int, input().split())

if n == m:
	print("AC")
else:
	print("WA")


Failing test case input:
1 -63

Expected output:
No


Actual output:
WA


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

if n == m:
	print("Yes")
else:
	print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = map(int, input().split())
print("AC" if n == m else "WA")

Failing test case input:
0 -54

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n, m = map(int, input().split())
print("Yes" if n == m else "No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
print('AC' if a is b else 'WA')


Failing test case input:
0 -76

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
print('Yes' if a is b else 'No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = map(int, input().split())
if n == m:
  print('yes')
else:
  print('no')


Failing test case input:
-1 -86

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
n, m = map(int, input().split())
if n == m:
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = map(int, input().split())
if n == m:
    print('AC')
else:
    print('WA')

Failing test case input:
-8 -19

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n, m = map(int, input().split())
if n == m:
    print('Yes')
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = input().split()
if a<=b:
  print('Yes')
else:
  print('No')

Failing test case input:
-1 -56

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b =map(int,input().split())
if (a<=b and a>0):
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = input().split(' ')
if a == b:
  print('Yes')
else:
  print('NO')

Failing test case input:
-1 -86

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
a,b = input().split(' ')
if a == b:
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n, m = map(int, input().split())

if n == m:
    print('AC')

else:
    print('WA')


Failing test case input:
-8 -19

Expected output:
No


Actual output:
WA


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

if n == m:
    print('Yes')

elif n > m:
    print('No')
Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = map(int, input().split())
if n==m:
  print('AC')
else:
  print('WA')

Failing test case input:
0 -50

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n, m = map(int, input().split())
if n==m:
  print('Yes')
else:
  print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input().split())
print('yes' if N==M else 'no')

Failing test case input:
0 -15

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
print('Yes' if N==M else 'No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=map(int,input().split())
if x==y:
    print('YES')
else:
    print("NO")    

Failing test case input:
-8 -13

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
x,y=map(int,input().split())
if x==y:
    print('Yes')
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M=map(int,input().split())

if(N==M):
    print("Yes")
else:
    ("No")

Failing test case input:
-2 -102

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
N,M=map(int,input().split())

if(N==M):
    print("Yes")
else:
   print ("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M=map(int,input().split())
if N==M:
  ans="Yes"
else:
  ans="No"
print("ans")

Failing test case input:
-8 -19

Expected output:
No


Actual output:
ans


Fixed submission (verdict: Accepted):
N,M=map(int,input().split())
if N==M:
  ans="Yes"
else:
  ans="No"
print(ans)

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(int, input().split())
if n == m:
    print('AC')
else:
    print('WA')

Failing test case input:
-1 -102

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
n,m = map(int, input().split())
if n == m:
    print('Yes')
else:
    print('No')

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M=input().split()
if N == M:
  print("AC")
else:
  print("WA")

Failing test case input:
-1 -64

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
N, M=input().split()
if N == M:
  print("Yes")
else:
  print("No")

Problem: p02789
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import sys
input = sys.stdin.readline
N, M = [int(x) for x in input().split()]
if N == M:
    print("AC")
else:
    print("WA")

Failing test case input:
-2 -102

Expected output:
No


Actual output:
WA


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline
N, M = [int(x) for x in input().split()]
if N == M:
    print("Yes")
else:
    print("No")

Problem: p02789
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = input().split()

if N == M:
    print('yes')
else:
    print('no')

Failing test case input:
-2 -102

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
N, M = input().split()

if N == M:
    print('Yes')
else:
    print('No')
Problem: p02631
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
n = int(input())
a = list(map(int, input().split()))

b = a[0]
for v in a[1:]:
    b ^= v
for v in a:
    print(v ^ b)
print(*map(lambda x: x ^ b, a))


Failing test case input:
4
102 2 -1 4

Expected output:
-7 -99 96 -101


Actual output:
-7
-99
96
-101
-7 -99 96 -101


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

b = a[0]
for v in a[1:]:
    b ^= v
print(*map(lambda x: x ^ b, a))

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
list = [int(i) for i in input().split()]
total = 0
ans = []
for i in range(n):
    total = total ^ list[i]

print(total)
for j in range(n):
    ans.append(str(total^list[j]))
print(" ".join(ans))


Failing test case input:
4
1 1 3 87

Expected output:
85 85 87 3


Actual output:
84
85 85 87 3


Fixed submission (verdict: Accepted):
n = int(input())
list = [int(i) for i in input().split()]
total = 0
ans = []
for i in range(n):
    total = total ^ list[i]

for j in range(n):
    ans.append(str(total^list[j]))
print(" ".join(ans))

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from sys import stdin
input = stdin.readline

N = int(input())
a = list(map(int, input().split()))

ans = []

for i in range(N - 1):
    ans.append(a[i] ^ a[i + 1])

ans.append(a[0] ^ a[N - 1])

print(*ans)


Failing test case input:
4
34 0 -1 -2

Expected output:
1 35 -36 -35


Actual output:
34 -1 1 -36


Fixed submission (verdict: Accepted):
from sys import stdin
input = stdin.readline

N = int(input())
A = list(map(int, input().split()))

xor_all = 0

for a in A:
    xor_all = xor_all ^ a

ans = []

for a in A:
    ans.append(xor_all ^ a)

print(*ans)

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
A = [int(a) for a in input().split()]

ans = [0]
l = A[0]
for i in range(1, N):
    k = l
    l = A[i]
    h = k ^ l
    ans.append(ans[i-1] ^ h)

for a in ans:
    print(a, end=' ')
print()

Failing test case input:
4
16 -17 0 0

Expected output:
-17 16 -1 -1


Actual output:
0 -1 16 16 


Fixed submission (verdict: Accepted):
N = int(input())
A = [int(a) for a in input().split()]
p = 0
for a in A[1:]:
    p ^= a
ans = [p]
l = A[0]
for i in range(1, N):
    k = l
    l = A[i]
    h = k ^ l
    ans.append(ans[i-1] ^ h)

for a in ans:
    print(a, end=' ')
print()

Problem: p02631
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
N = int(input())
A = [int(x) for x in input().split()]
X = 0
for a in A:
    X ^= a
ans = [X ^ a for a in A]
print(ans)        


Failing test case input:
4
5 -17 1 0

Expected output:
-18 4 -22 -21


Actual output:
[-18, 4, -22, -21]


Fixed submission (verdict: Accepted):
N = int(input())
A = [int(x) for x in input().split()]
X = 0
for a in A:
    X ^= a
ans = [str(X ^ a) for a in A]
print(' '.join(ans))
Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

n=int(input())
a=list(map(int,input().split()))

for i in range(0,n-1,2):
  
  k=a[i]^a[i+1]
  print(k,end=" ")
  print(0,end=" ")
  
  

Failing test case input:
4
1 1 3 87

Expected output:
85 85 87 3


Actual output:
0 0 84 0 

Fixed submission (verdict: Accepted):

n=int(input())
a=list(map(int,input().split()))
k=0
for i in range(0,n-1,2):
  k=k^a[i]^a[i+1]

for i in range(n):
  print(k^a[i],end=" ")

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
a = list(map(int,input().split()))


b = [sum(a) ^ a[x] for x in range(N)]

print(' '.join(map(str, b))) 

Failing test case input:
4
102 2 -1 2

Expected output:
-1 -101 102 -101


Actual output:
15 107 -106 107


Fixed submission (verdict: Accepted):
N = int(input())
A = list(map(int, input().split()))
x = 0
for a in A:
    x ^= a
print(" ".join(map(str, [x^a for a in A])))

Problem: p02631
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
N = int(input())
A = list(map(int, input().split()))
S=0
for a in A:
  S ^= a

b = [S^a for a in A]
print(b)

Failing test case input:
4
1 -22 2 -1

Expected output:
23 -4 20 -23


Actual output:
[23, -4, 20, -23]


Fixed submission (verdict: Accepted):
N = int(input())
A = list(map(int, input().split()))
S=0
for a in A:
  S ^= a

b = [S^a for a in A]
print(*b)

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
alist=list(map(int,input().split()))

allh=alist[0]^alist[1]
for i in range(n-1):
    allh = allh ^ alist[i+1]

outlist=[]
for a in alist:
    outlist.append(str(allh ^ a))
    outlist.append(" ")
outlist.pop()
print("".join(outlist))


Failing test case input:
4
102 2 0 1

Expected output:
3 103 101 100


Actual output:
1 101 103 102


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

allh=alist[0]^alist[1]
for i in range(n-2):
    allh = allh ^ alist[i+2]

outlist=[]
for a in alist:
    outlist.append(str(allh ^ a))
    outlist.append(" ")
outlist.pop()
print("".join(outlist))

Problem: p02631
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
n = int(input())
a = list(map(int, input().split()))


xor=0
for i in range(n):
    xor ^= a[i]

print(xor)
ans=[]
for i in range(n):
    ans.append(xor ^ a[i])

print(*ans,sep=" ")

Failing test case input:
4
40 0 -1 -2

Expected output:
1 41 -42 -41


Actual output:
41
1 41 -42 -41


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


xor=0
for i in range(n):
    xor ^= a[i]

ans=[]
for i in range(n):
    ans.append(xor ^ a[i])

print(*ans,sep=" ")

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
a = sorted(list(map(int, input().split())))
x = 0
for i in a:
    x ^= i
for i in range(n):
    a[i] ^= x
print(*a)

Failing test case input:
4
74 0 -2 -3

Expected output:
3 73 -73 -76


Actual output:
-76 -73 73 3


Fixed submission (verdict: Accepted):
n = int(input())
a = list(map(int, input().split()))
x = 0
for i in a:
    x ^= i
for i in range(n):
    a[i] ^= x
print(*a)
Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N=int(input())
a=list(map(int,input().split()))
S=0
for i in a:
  S^=i
print([i^S for i in a])

Failing test case input:
4
5 -12 1 -2

Expected output:
11 -6 15 -16


Actual output:
[11, -6, 15, -16]


Fixed submission (verdict: Accepted):
N=int(input())
a=list(map(int,input().split()))
S=0
for i in a:
  S^=i
a=[S^i for i in a]  
print(*a)

Problem: p02631
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
n=int(input())
a=(int(i) for i in input().split())
b=0
for i in a:b^=i
print(*(i^b for i in a))

Failing test case input:
4
93 2 -1 2

Expected output:
-1 -96 93 -96


Actual output:

Fixed submission (verdict: Accepted):
input()
a=[int(i) for i in input().split()]
b=0
for i in a:b^=i
print(*[i^b for i in a])

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
A = list(map(int, input().split()))
sum_of_A = sum(A)
ans = []
for a in A:
    ans.append((sum_of_A-a)^a)
print(" ".join(map(str, ans)))


Failing test case input:
4
74 1 -1 1

Expected output:
-1 -76 74 -76


Actual output:
75 75 -77 75


Fixed submission (verdict: Accepted):
N = int(input())
A = list(map(int, input().split()))
sum_of_A = A[0]
for a in A[1:]:
    sum_of_A ^= a
ans = []
for a in A:
    ans.append((sum_of_A)^a)
print(" ".join(map(str, ans)))

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
a = list(map(int, input().split()))
ans = []
for i in range(N):
    xor = 0
    for j in range(N):
        if i == j:
            xor ^= a[j]
    ans.append(xor)
print(*ans)

Failing test case input:
4
74 1 -1 1

Expected output:
-1 -76 74 -76


Actual output:
74 1 -1 1


Fixed submission (verdict: Accepted):
N = int(input())
a = list(map(int, input().split()))
s = 0
for i in range(N):
    s ^= a[i]

ans = []
for i in range(N):
    ans.append(a[i] ^ s)
print(*ans)

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
a=list(map(int,input().split()))

for i in range(n-1):
    c=a[i]^a[i+1]

ans=[0]*n
for i in range(n):
    ans[i]=c^a[i]
L=[str(a) for a in ans]
L=" ".join(L)
print(L)


Failing test case input:
4
6 -17 2 0

Expected output:
-19 4 -23 -21


Actual output:
4 -19 0 2


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

c=a[0]
for i in range(n-1):
    c=c^a[i+1]

ans=[0]*n
for i in range(n):
    ans[i]=c^a[i]
L=[str(a) for a in ans]
L=" ".join(L)
print(L)

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
num = int(input())
a_i = list(map(int, input().split()))
s = 0
for x in a_i:
    s ^= x
ans = []
for x in a_i:
    ans.append(x ^ s)
print(ans)

Failing test case input:
4
40 0 -1 -2

Expected output:
1 41 -42 -41


Actual output:
[1, 41, -42, -41]


Fixed submission (verdict: Accepted):
num = int(input())
a_i = list(map(int, input().split()))
s = 0
for x in a_i:
    s ^= x
ans = []
for x in a_i:
    ans.append(x ^ s)
print(' '.join(map(str, ans)))
Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
a=list(map(int,input().split()))
p=0
for x in a:
	p^=x
ans=[]
for x in a:
	ans.append(p^x)
print(ans)

Failing test case input:
4
2 -12 1 -2

Expected output:
11 -3 8 -9


Actual output:
[11, -3, 8, -9]


Fixed submission (verdict: Accepted):
n=int(input())
a=list(map(int,input().split()))
p=0
for x in a:
	p^=x
ans=[]
for x in a:
	ans.append(p^x)
print(*ans)

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
xor_arr = list(map(int, input().split()))
xor_of_xor = 0
for elm in xor_arr:
    xor_of_xor = xor_of_xor ^ elm
scarf_val = [xor_of_xor ^ elm for elm in xor_arr]

print(scarf_val)

Failing test case input:
4
-1 -6 2 0

Expected output:
-8 -3 5 7


Actual output:
[-8, -3, 5, 7]


Fixed submission (verdict: Accepted):
n = int(input())
xor_arr = list(map(int, input().split()))
xor_of_xor = 0
for elm in xor_arr:
    xor_of_xor = xor_of_xor ^ elm
scarf_val = [xor_of_xor ^ elm for elm in xor_arr]
         
print(" ".join(str(x) for x in scarf_val))

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
a = list(map(int,input().split()))

xor_a = 0
for i in range(n):
  xor_a ^= a[i]

print(xor_a)

ans = []
for i in range(n):
  ans.append(a[i] ^ xor_a)

print(*ans)


Failing test case input:
4
1 11 10 29

Expected output:
28 22 23 0


Actual output:
29
28 22 23 0


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

xor_a = 0
for i in range(n):
  xor_a ^= a[i]



ans = []
for i in range(n):
  ans.append(a[i] ^ xor_a)

print(*ans)

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
A = list(map(int, input().split()))

xor = 0
for a in A:
    xor ^= a
result = []
for a in A:
    result.append(xor ^ a)
print(result)

Failing test case input:
4
2 -22 1 -1

Expected output:
20 -4 23 -23


Actual output:
[20, -4, 23, -23]


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

xor = 0
for a in A:
    xor ^= a
result = []
for a in A:
    result.append(str(xor ^ a))
print(' '.join(result))

Problem: p02631
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
A = map(int, input().split())
ax = 0
ans = []
for a in A:
  ax ^= a
for a in A:
  ans.append(a^ax)
  
print(" ".join(map(str,ans)))

Failing test case input:
4
16 -17 0 0

Expected output:
-17 16 -1 -1


Actual output:

Fixed submission (verdict: Accepted):
N = int(input())
A = list(map(int, input().split()))
ax = 0
ans = []
for a in A:
  ax ^= a
for a in A:
  ans.append(a^ax)
  
print(" ".join(map(str,ans)))