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 1669. Universal Word

What is algo?
Posted by IgorKoval(from Pskov) 23 Apr 2012 00:39
What is algo? =)
Re: What is algo?
Posted by IgorKoval [PskovSU] 29 Sep 2013 16:23
simple DP:
int leftPos[char][pos] position of char which is left or equal of pos
int lastPos[mask] : for substring s[lastPos[mask]..s.length()-1] we can get all name of sportman with char which is  in mask.
=)