WA in uva1623

Revision en1, by Hilva9a, 2016-07-30 02:40:52

My code passes the test cases given in the problem , but when i submit my solution i get WA , what is wrong with my solution ? https://ideone.com/m2BDPf

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Hilva9a 2016-07-30 02:40:52 167 Initial revision (published)