⌨️

[AtCoder]ABC-054|A - One Card Poker

2022/12/23に公開

設問ページ

提出結果

def getIntMap():
    return map(int, input().split())


def main():
    a, b = getIntMap()
    p = [0, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]

    print('Draw' if a == b else 'Alice' if p[a] > p[b] else 'Bob')


if __name__ == "__main__":
    main()

Discussion