Spoj NUMTSN WA problem

Revision en1, by Jima, 2016-07-26 22:19:05

i am trying to solve http://www.spoj.com/problems/NUMTSN/ this problem on spoj. can someone who has solved this problem give me some advice why my code gives me wa. https://ideone.com/Ycnepw

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Jima 2016-07-26 22:19:32 2
en1 English Jima 2016-07-26 22:19:05 214 Initial revision (published)