Input:
Code: Select all
ABCDEFGHIJ
KLMNOPQRSTUVWXY
ZPNCPLOIRQ
UNIQLETRS
PLMKNUYHBVGTFFEQWASZ
IDHFNA
MAKELIT
Code: Select all
ABCDEFGHIJ1
KLMNOPQRSTUVWXY1
ZPNCPIROQL2
UNIQETRLS2
PLMKNUYHBVGTFFEQAWSZ0
IDNFAH5
MAITKEL6
Moderator: Board moderators
Code: Select all
ABCDEFGHIJ
KLMNOPQRSTUVWXY
ZPNCPLOIRQ
UNIQLETRS
PLMKNUYHBVGTFFEQWASZ
IDHFNA
MAKELIT
Code: Select all
ABCDEFGHIJ1
KLMNOPQRSTUVWXY1
ZPNCPIROQL2
UNIQETRLS2
PLMKNUYHBVGTFFEQAWSZ0
IDNFAH5
MAITKEL6
According to the problem description, some test cases are not correct.v1n1t wrote:Here's some input / output I found useful during testing / debugging.
Input:AC Output:Code: Select all
ABCDEFGHIJ KLMNOPQRSTUVWXY ZPNCPLOIRQ UNIQLETRS PLMKNUYHBVGTFFEQWASZ IDHFNA MAKELIT
Code: Select all
ABCDEFGHIJ1 KLMNOPQRSTUVWXY1 ZPNCPIROQL2 UNIQETRLS2 PLMKNUYHBVGTFFEQAWSZ0 IDNFAH5 MAITKEL6
Code: Select all
ABCDEFGHIJ <= Is not the eleventh (middle) of the consecutive permutations
KLMNOPQRSTUVWXY <= Is not the eleventh (middle) of the consecutive permutations
PLMKNUYHBVGTFFEQWASZ <= Contains repeated letter. 'F' is repeated twice