http://www.spoj.com/problems/TWENTYQ/
I was trying to solve this problem but I do not get how the answer of the third test case is 4. I will be really happy if someone can tell me the right way to solve this problem .Thanks in advance !!!
http://www.spoj.com/problems/TWENTYQ/
I was trying to solve this problem but I do not get how the answer of the third test case is 4. I will be really happy if someone can tell me the right way to solve this problem .Thanks in advance !!!