[Problem][1]
[My solution][2]
Please give me some test cases where my solution fails. Thanks.
[1]: http://www.codechef.com/problems/ENCODE04/
[2]: http://ideone.com/sxPWCB
[Problem][1]
[My solution][2]
Please give me some test cases where my solution fails. Thanks.
[1]: http://www.codechef.com/problems/ENCODE04/
[2]: http://ideone.com/sxPWCB
try the case when all employees are Testers…like…
TTTT
also try this case…
TTTTDD
ans should be “NO”…urs says “YES”…hope this helps…