SPOJ PROBLEM TWENTYQ

Revision en1, by namesake, 2015-10-24 12:51:46

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 !!!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English namesake 2015-10-24 12:51:46 266 Initial revision (published)