diff --git "a/forkyy/python/mar/\353\217\231\354\240\204\353\266\204\353\260\260.py" "b/forkyy/python/mar/\353\217\231\354\240\204\353\266\204\353\260\260.py" new file mode 100644 index 0000000..b3cbe5d --- /dev/null +++ "b/forkyy/python/mar/\353\217\231\354\240\204\353\266\204\353\260\260.py" @@ -0,0 +1,18 @@ +import sys + +input = sys.stdin.readline + +for _ in range(3): + n = int(input()) + total_amount = 0 + coins = dict() + for _ in range(n): + t, c = map(int, input().split()) + coins[t] = c + total_amount += t * c + + if total_amount % 2 == 1: + print(0) + continue + + \ No newline at end of file