Logo
(追記) (追記ここまで)

33651번 - Vandalism 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 2048 MB65048645775.164%

문제

In recent weeks, the United Association against Property Crime (UAPC) sign has been repeatedly vandalized. Vandals remove some of the letters from UAPC to form an acronym of their choosing. For example, last month, the Unauthorized Art Collective (UAC) removed the letter P.

The UAPC is tired of manually determining which letters have been lost and need replacement. They have tasked you with creating an algorithm to automatically identify the missing letters.

입력

The first line of input contains a string $s$ of length at most 3ドル$. It is guaranteed that $s$ is non-empty and can be obtained by removing some characters from UAPC, while preserving the order of the remaining letters. It is guaranteed that at least one character has been removed.

출력

Output a string consisting of the characters removed from UAPC to obtain $s,ドル listed in the order they appear in UAPC.

제한

예제 입력 1

UAC

예제 출력 1

P

예제 입력 2

P

예제 출력 2

UAC

예제 입력 3

UC

예제 출력 3

AP

힌트

출처

University > University of Alberta Programming Contest > UAPC 2025 > Division 1 A번

University > University of Alberta Programming Contest > UAPC 2025 > Division 2 A번

  • 문제를 만든 사람: Ian DeHaan
(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /