The card played, represented as two characters: a number or letter and a suit. The card number or letter is 2, 3, 4, 5, 6, 7, 8, 9, X (representing $10$), J (representing Jack), Q (representing Queen), K (representing King), or A (representing Ace). The suit is a lowercase h (for hearts), c (for clubs), d (for diamonds), or
s (for spades). You are guaranteed that each card will be seen at most twice, as there are only two decks in play.
yyyy7089 9달 전
원문 (https://open.kattis.com/proble...)에 따르면 지문의
2,3,4,5,6,7,8,9,X(representing $10$),J(representing Jack),Q(representing Queen),K(representing King), orA(representing Ace). The suit is a lowercaseh(for hearts),c(for clubs),d(for diamonds), ors(for spades). You are guaranteed that each card will be seen at most twice, as there are only two decks in play.이 모두 한 줄에 적혀 있습니다. or 뒤의 줄바꿈을 삭제해 주세요.