CF 104990I - Inspecting Spells
We are given a collection of strings, each representing a fixed “spell”. We are allowed to rearrange these strings in any order and concatenate them into one long string.
CF 104990I - Inspecting Spells
Rating: -
Tags: -
Solve time: 43s
Verified: no
Solution
Problem Understanding
We are given a collection of strings, each representing a fixed “spell”. We are allowed to rearrange these strings in any order and concatenate them into one long string. Inside each string, the character order must stay unchanged, but we are free to choose the permutation of the strings.
The question is wheth