jaehoo1   5년 전

입력

Input consists of two lines. The first contains the ciphertext and the second contains the secret word. Both lines contain only uppercase alphabetic letters.

the ciphertext 와 the second 의 길이가 주어져 있지 않습니다.

nova9128   5년 전

그러게요 원문에도 대문자라고만 되있고 다른조건은 없네요. 대문자라는 말이 공백을 포함하지않으니 1자이상이라는 말로도 통용될듯도 보이고요.

참고로

#채점번호 11776714

input : (Enter,공백)

           (Enter,공백)

output:(공백)

#채점번호 9090225

input : (Enter,공백)

           (Enter,공백)

output:ZeroDivisionError: integer division or modulo by zero


1자이상이라는 조건이 명확하지않으면 공백으로 입력시 어떤건 맞고 어떤건 틀립니다.

조건 붇여주는게 좋을듯싶습니다.


댓글을 작성하려면 로그인해야 합니다.