Problem p03573 (python)

Fixed submission:
import sys
from collections import Counter

# sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_int_list()
    c = Counter(n)
    for i in c:
        if c[i] == 1:
            print(i)


main()

Buggy submission (verdict: Runtime Error):
import sys
from collections import Counter

sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_int_list()
    c = Counter(n)
    for i in c:
        if c[i] == 1:
            print(i)


main()

Buggy submission (verdict: Runtime Error):
n = list(map(int, input().split()))
c = Counter(n)
    for i in c:
        if c[i] == 1:
            res = i
            print(res)

Buggy submission (verdict: Runtime Error):
import sys
from collections import Counter

sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_int_list()
    c = Counter(n)
    for i in c:
        if c[i] == 1:
            res = i
            print(res)


main()

Buggy submission (verdict: Runtime Error):
import sys


sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    a, b, c = read_int_list()
    if a != b and a == c:
        print(b)
    elif a != c and b == c:
        print(a)
    else:
        print(c)


main()

Buggy submission (verdict: Runtime Error):
import sys


sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    a, b, c = read_int_list()
    if a == b:
        print(c)
    elif a == c:
        print(b)
    else:
        print(a)


main()

Buggy submission (verdict: Runtime Error):
import sys


sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    a, b, c = read_int_list()
    if a == b:
        print(c)
    if a == c:
        print(b)
    if b == c:
        print(a)


main()

Buggy submission (verdict: Runtime Error):
import sys
from collections import Counter

sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_int_list()
    c = Counter(n)
    if c == 1:
        print(n)


main()