Hai there,I am struck in the problem RRStone in may challenge. Can anyone retify my code. I have coded in Ideone , it’s works fine.But, I am still getting the wrong answer in codechef complier.I have tagged the updated code in this link.gvnp7a - Online Java Compiler & Debugging Tool - Ideone.com
i think when k=0 u r printing extra numbers…Plnk6Z - Online Java Compiler & Debugging Tool - Ideone.com
just 1 suggestion…pls indent ur code properly…it helps, not only others but also u, in understanding the code…also bugs can be traced a bit easily…
1 Like
I have flushed my codes here hafiFJ - Online Java Compiler & Debugging Tool - Ideone.com still getting the wrong answer
ok… sorry
no need to be sorry…mistakes happen…