410809: GYM104118 K Kapitan Amazing

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

K. Kapitan Amazingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputExamplesInput
QWERTYU*O*
*SDFGHJK*
ZX*VB**
8
CLAMPING
MAILMAN
PASSWORD
ICPCMANILA
CLIPMAN
CAMPANILLA
ALPACAMANIA
IPAAAAAAAAAAAAAAAAALCMN
Output
IMPOSSIBLE
IMPOSSIBLE
IMPOSSIBLE
POSSIBLE
POSSIBLE
POSSIBLE
POSSIBLE
POSSIBLE
Input
QWERTYUIOP
*SDFGHJKL
ZXCVBNM
5
A
AA
AAAA
AAAAAAAA
AAAAAAAAHHHHHHHH
Output
POSSIBLE
POSSIBLE
POSSIBLE
POSSIBLE
IMPOSSIBLE

加入题单

上一题 下一题 算法标签: