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

6843번 - Anagram Checker 다국어

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

문제

An anagram is a word or a phrase formed by rearranging the letters of another phrase such as “ITEM” and “TIME”. Anagrams may be several words long such as “CS AT WATERLOO” and “COOL AS WET ART”. Note that two phrases may be anagrams of each other even if each phrase has a different number of words (as in the previous example). Write a program to determine if two phrases are anagrams of each other.

입력

The program should prompt the user for two phrases, each entered on a separate line. You may assume that the input only contains upper case letters and spaces.

출력

The program will print out one of two statements: ”Is an anagram.” or ”Is not an anagram.”

제한

예제 입력 1

CS AT WATERLOO
COOL AS WET ART

예제 출력 1

Is an anagram.

힌트

출처

Olympiad > Canadian Computing Competition & Olympiad > 2007 > CCC 2007 Junior Division 4번

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

출처

대학교 대회

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

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