Code Cracker 3.0
Judging
After you have submitted the source code for judging,
your submission will be run with one or several sets of input data and the
results reviewed.
It is the judges' intent never to reveal directly or indirectly the specific input data the judge uses to test contestant's programs.
The judges will respond to your submission with one of the following messages.
If a submission contains more than one type of error, the response will still contain only one message. The judges will report only the first error seen,
which may not necessarily be the error that occurs first or most frequently in the output.
* CORRECT ANSWER : Congratulations, you have just solved the problem.
* COMPILE ERROR : The judges was unable to compile your program. Check whether
1. You submitted the correct source code.
2. You tested the compilation before submitting the file.
* WRONG ANSWER :Your program did not produce the expected results.
The output of your program may be incorrectly formatted. Check that the significant digits, delimiters, whitespace, spelling, etc., in your program's output conform to that given in the problem description.
The compiler status gives you the exact CPU running time of your program.
"Time Limit Exceeded" means your program exceeded the 4 second time limit.
"Abnormal Termination" means your program did compile properly but it did not execute properly (segmentation fault etc) .
The judge will attempt to return responses within a few seconds of submission. If it takes longer, we either are having to deal with a large number of submissions or are having other problems. (Typically, the very first submission for a problem will take slightly longer than usual to judge; also, the last half hour of the contest is usually extremely busy. Programs that require more CPU time or that have infinite loops will also take longer to judge for obvious reasons.)
FAQS
Q : Can I use a compiler other than gcc ?
A : Yes, you can use any C or C++ compiler as per your preference. But your program must be platform independent.
ie It must be "COMPILABLE" in all other platforms as well. In short, your code should ANSI C compatible
Q : How do i know what functions are available in gcc?
A : If you are working on linux or *nix platform, type "info libc" or "man libc" at the shell.
Browse through the document and look for functions.
Q : Can I use conio.h header file ?
A : NO. conio.h is specific to DOS platform. Hence including this file will result in compile time error
Q : How do I ensure that my code is ANSI C/C++ compatible ?
A : Don't include any functions and header file that is platform dependent. eg.conio.h, dos.h,etc
Q : I am using Turbo or Borland Compiler. How do I know whether a function is ANSI C/C++ compatible or not ?
A : In the help file of Turbo/Borland Compiler there is a documentation of each function.
This documentation can be used to know whether the function is specific to DOS, ANSI or UNIX. If you see a YES under ANSI then it is ANSI compatible.
Q : I am convinced that my code is correct but the judge is still not accepting it.
A : You may mail any of the co-ordinators on the contact page your solution with your team name and username. If the judges find that you are constantly mailing us incorrect solutions you may get penalty points.