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

34417번 - Alphabet Soup 다국어

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

문제

Andrew is making himself a nice warm bowl of alphabet soup. However, before Andrew can eat the soup, he needs to make sure that it contains every letter of the alphabet. Can you write an algorithm that will tell him if his soup has all of the letters in it, and if not, which letters are missing?

입력

Input is a single line of uppercase letters (A-Z) of length $L$ (0ドル ≤ L ≤ 1,000円,000円$), possibly containing duplicates.

출력

If all letters A-Z are present in the input, the output should be "Alphabet Soup!". Otherwise, the output should be a single line containing all of the uppercase letters that were missing from the input string, in alphabetical order.

제한

예제 입력 1

AQUICKBROWNFOXJUMPSOVERTHELAZYDOG

예제 출력 1

Alphabet Soup!

예제 입력 2

QWBGHMJKLXYCDRSZTVNPF

예제 출력 2

AEIOU

노트

출처

School > CS@Mines > CS@Mines HSPC 2021 G번

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

출처

대학교 대회

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

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