Problem p02771 (python)

Fixed submission:
def Main(A,B,C):

  if A == B:
    if C!=A:
      print("Yes",end="")
    else:
      print("No",end="")
  elif A == C:
    if B!=A:
      print("Yes",end="")
    else :
      print("No",end="")
  elif B == C:
    if A!=B :
      print("Yes",end="")
    else:
      print("No",end="")
  else:
    print("No",end="")
A,B,C = [int(num) for num in input().split(' ')]
Main(A,B,C)

Buggy submission (verdict: Runtime Error):
def Main(A,B,C):

  if A == B:
    if C!=A:
      print("Yes",end="")
    else:
      print("No",end="")
  elif A == C:
    if B!=A:
      print("Yes",end="")
    else :
      print("No",end="")
  elif B == C:
    if A!=B :
      print("Yes",end="")
    else:
      print("No",end="")
  else:
    print("No",end="")
A = int(input())
B = int(input())
C = int(input())
Main(A,B,C)

Buggy submission (verdict: Runtime Error):
def Main(A,B,C):

  if A == B:
    if C!=A:
      print("Yes",end="")
    else:
      print("No",end="")
  elif A == C:
    if B!=A:
      print("Yes",end="")
    else :
      print("No",end="")
  elif B == C:
    if A!=B :
      print("Yes",end="")
    else:
      print("No",end="")
  else:
    print("No",end="")
A = int(input())
B = int(input())
C = int(input())
Main(A,B,C)

Buggy submission (verdict: Runtime Error):
def Main(A,B,C):

  if A == B:
    if C!=A:
      print("true")
    else:
      print("false")
  elif A == C:
    if B!=A:
      print("true")
    else :
      print("false")
  elif B == C:
    if A!=B :
      print("true")
    else:
      print("false")
  else:
    print("false")
A = int(input())
B = int(input())
C = int(input())
Main(A,B,C)

Buggy submission (verdict: Runtime Error):
def Main(A,B,C):

  if A == B:
    if C!=A:
      print("true")
    else:
      print("false")
  elif A == C:
    if B!=A:
      print("true")
    else :
      print("false")
  elif B == C:
    if A!=B :
      print("true")
    else:
      print("false")
  else:
    print("false")
A = int(input())
B = int(input())
C = int(input())
Main(A,B,C)

Buggy submission (verdict: Runtime Error):
def Main():
  A = int(input())
  B = int(input())
  C = int(input())
  if A == B:
    if C!=A:
      print("true")
    else: 
      print("false")
  elif A == C:
    if B!=A:
      print("true")
    else : 
      print("false")
  elif B == C:
    if A!=B :
      print("true")
    else:
      print("false")
  else:
    print("false")

Main()

Buggy submission (verdict: Runtime Error):
A = int(input())
B = int(input())
C = int(input())
if A == B:
  if C!=A:
    print("Yes")
  else: 
    print("No")
elif A == C:
  if B!=A:
    print("Yes")
  else : 
    print("No")
elif B == C:
  if A!=B :
    print("Yes")
  else:
    print("No")
else:
  print("No")

Buggy submission (verdict: Runtime Error):
A = int(input())
B = int(input())
C = int(input())
if A == B:
  if C!=A:
    print("true")
  else: 
    print("false")
elif A == C:
  if B!=A:
    print("true")
  else : 
    print("false")
elif B == C:
  if A!=B :
    print("true")
  else:
    print("false")
else:
  print("false")

Buggy submission (verdict: Runtime Error):
A = int(input())
B = int(input())
C = int(input())
if A == B:
  if C!=A:
    print("true")
  else: 
    print("false")
elif A == C:
  if B!=A:
    print("true")
  else : 
    print("false")
elif B == C:
  if A!=B :
    print("true")
  else:
    print("false")
else:
  print("false")

Buggy submission (verdict: Runtime Error):
a = int(input())
b = int(input())
c = int(input())
if a == b:
  if c!=a:
    print("true")
  else: 
    print("false")
elif a == c:
  if b!=a:
    print("true")
  else : 
    print("false")
elif b == c:
  if a!=b :
    print("true")
  else:
    print("false")
else:
  print("false")