Introduction to Auto Judge
Auto Judge is an automated system for simmulating an
ACM-like programming contest. It uses the internet email protocol
(RFC 822) and the WWW. In order to use it, you must be able to be
reached by e-mail and also have a WWW client (not necessarily graphical).
Auto Judge has a problem database. Each problem has its own unique
codename (id).
Auto Judge has an email address:
judge@clio.hpc.ntua.gr.
In this address you must send your program, which is supposed to
solve a given problem.
A sample unix script to submit a program is submit.
All problems have some common characteristics. Please, read them
carefully:
- All accept input from standard input and send output
to standard output. Intermediate, temporary, input and
output files are NOT permitted and will disqualify your
program
- Your program must terminate normally with exit status
0. Programs that end with non zero exit status or not finish
in the specified timeout period, will be judge as wrong.
- The output of your program must be exactly as stated in
the problem definition. Even leading or trailing spaces,
incorrect number of newlines or other white space, disorder
of responses etc. will disqualify your program.
As an example, have a look at the test problem
Hello. This is a naive problem
that will be used to show the auto judging mechanism. Try submitting
the following programs and make sure you understand why only the
first one succeeds.
#include
/* hello1.c */
main()
{
printf("Hello, world\n");
return 0;
}
#include
/* hello2.c */
main()
{
printf("Hello, world");
}