Help in solving march cook-off question of codechef

Revision en2, by ravan, 2018-03-19 13:49:33

Can anyone please tell me what's wrong with my code.I was solving https://www.codechef.com/problems/CO92TREE this question on codechef.I used map to count all the and values encountered in any subset. here is link to my code:https://www.codechef.com/viewsolution/17911030

Tags tree,map

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ravan 2018-03-19 13:49:33 1549
en1 English ravan 2018-03-19 13:46:52 1842 Initial revision (published)