Use cstdio and cmath. I think that should fix it.
--
You received this message because you are subscribed to the Google Groups "Coders in NIT Durgapur" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nitdcoders+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I tried. It says wrong answer. I checked it on ideone, it's working fine. Idk where the error is.
You received this message because you are subscribed to a topic in the Google Groups "Coders in NIT Durgapur" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nitdcoders/NzaSnP4jeA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nitdcoders+...@googlegroups.com.
@Shailesh Thanks a ton. I would try it again with a correct output for 3 then.