4 人解决,6 人已尝试。
9 份提交通过,共有 33 份提交。
7.8 EMB 奖励。
单点时限: 1.0 sec
内存限制: 256 MB
Mr. Panda loves fantastic beasts, he is going to use a magic spell to figure out where to find them. Given
If there is no solution, output Impossible
instead.
First line contains an integer
Following is
The dataset guarantees
Output the answer string or Impossible
.
2 aba bab
aba
3 qnu cvbb bnu
q
3 a aa aaa
Impossible
4 人解决,6 人已尝试。
9 份提交通过,共有 33 份提交。
7.8 EMB 奖励。