ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1603. Erudite

After getting TL or WA you might be interested in this not efficient way (java AC 0.5s, 17Mbs)
Posted by esbybb 31 Aug 2015 21:31
i ended up counting all possible Strings can be composed quickly.

so preprocessing gives me

552 of the 16 symbols words
27956 of less than 16 symbols words (including those who are 1)