Can we use codeblocks compiler for Codechef submissions?

I’m trying to use codeblocks compiler to submit my code for codechef. When i execute a program in codeblocks, i get the correct output but when i submit the same code on CodeChef it shows an “WRONG SUBMISSION”. Saying the output doesn’t match the required output. I’ve tried with different problems but its not working. The codeblock compiler i’m using is CodeBlocks 12.11. Please help. Thanx in advance.

yes you can use it. The fact that you are getting WA has nothing to do with the compiler but with your code, which may not be generating the exact solutions required and hence WA. Go through the problems again and try to to find out the corner cases for which your code might not be generating the perfect set of outputs!

Good Luck.