1 / 9
Oct 2012

Please use code tags when posting code. Your code is definitely wrong smile Try testing cases with a=1 and b=4. Your handling of the defenders is the problem.

Thanks for ur advice. It helped me a lot. Now i understood my mistake. I was trying for the last defender but it should be with the second last. At last i submitted it comfortably.
And by the way code tag is ....... na ??
Once again thanks.

Nope, square braces. Hit the code button in the toolbar for the post.

thanks.
ps
but how disable code tags then? wink and I mind any [ ][/ ]

I'm sorry, I don't understand your question.

As you can see from this post, "Disable BBCode" prevents all tag processors from running.

Suggested Topics

Topic Category Replies Views Activity
C and C++ 0 26 17d

Want to read more? Browse other topics in C and C++ or view latest topics.