(I even saw some people's programs that ran within 2 seconds during the contest.
Thank you
Moderator: Board moderators
You say we can consider just 2^p words and look for them in dictionary but,shouldn't we consider every permutation of this 2^p words?
trulo17 wrote:i got acc in this one just within time( 8.443 seconds) so i would like to know a better way to do this task.What i'm doing is to see for every word in dictionary if it can be formed with the p letters.
cut after i found my silly mistake

Users browsing this forum: No registered users and 1 guest