running problem

i have compiled a program in C,which runs perfectly according to need,but codechef is not accepting it,neither it says any error in any of line,just WRONG CODE gets displayed on the screen.
whats the problem?

Hello drj28,you didn’t mention Which complier are you using in your system.check whether you are using GCC or not,because codechef having C(gcc 4.8.1 complier),c99strict (gcc 4.8.1).And also verify your code in www.ideone.com which is an online complier.My suggestion is that before you are submitting solution in codechef,you can try it with ideone. Most probably this will be the case, if not write your code here.you can also download the GCC complier with IDE by click this link text.I think this will help you.