my code woking well on dev c++ 5.6.2but not on this why??
Give the link of your code…
Try using codeblocks
Compilers like “Turbo C++”, “Dev C++” etc. are not standard ones. They might suppress some errors in your code. Try to use standard compilers (like gcc or g++ that Codechef uses). See this FAQ.