HELP NEEDED IN SOLVING UVA PROBLEM 23 out of 5

Revision en1, by tri_e, 2020-07-03 17:27:20

link to problem — (https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1285) link to my code — (https://ideone.com/pAMZpL) i am getting WA and not able to figure out why? thank you

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English tri_e 2020-07-03 17:27:20 281 Initial revision (published)