Home Page
F.A.Qs
BB-Forum
FOJÔÂÈü˵Ã÷
Problem Set
Online Contest
Search Problem
System Logs
Author RankList
Recent Ranklist
Register
User Compare
User¡¡¡¡
Password

FAQ
Frequently Asked Questions

Q:Where is the input and the output?
A:Your program shall read input from stdin('Standard Input') and write output to stdout('Standard Output'). For example, you can use 'scanf' in C or 'cin' in C++ to read from stdin, and use 'printf' in C or 'cout' in C++ to write to stdout.

Your programs are not allowed to open and read from/write to files, you will get a "Restrict Function Call" if you try to do so. Here is a sample solution for problem 1000


Q:What is the compiler the judge is using and what are the compiler options?
A:The online judge system is running on linux. We are using GNU GCC/G++ for C/C++ compile and Free Pascal for pascal compile. The compile options are:
C: gcc foo.c -o foo -ansi -fno-asm -W -lm --static -DONLINE
C++: g++ foo.c -o foo -ansi -fno-asm -W -lm --static -DONLINE
Free Pascal(FPC): fpc -Co -Cr -Ct -Ci -DONLINE

Our compiler software version:
  • gcc/g++ version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
  • glibc 2.3.2
  • Free Pascal Compiler version 1.0.10 [2003/08/31] for i386


    Q:Why did I get a Compile Error? It's well done!
    A:There are some differences between GNU and MS-VC++, such as:

    Q:What is the meaning of the judge's reply XXXXX?
    A:Here is a list of the judge's replies and their meaning:

    AcceptedOK! Your program is correct!
    Presentation ErrorYour output format is not exactly the same as the judge's output, although your answer to the problem is correct. Check your output for spaces, blank lines, etc against the problem output specification.
    Wrong AnswerCorrect solution not reached for the inputs. The inputs and outputs that we use to test the programs are not public (it is recommendable to get accustomed to a true contest dynamic).
    Time Limit ExceedYour program tried to run during too much time.
    Memory Limit ExceedYour program tried to use more memory than the judge default settings.
    Restrict Function CallYour've called the forbidden system function, such as fopen, fork, etc.
    Runtime ErrorYour program failed during the execution. This is often caused by divided by zero, violent memory access, etc. It is highly recommended that you should add "return 0;" at the end of the main function to avoid runtime error.
    Compile ErrorThe compiler could not compile your program. Of course, warning messages are not error messages. Click the link at the judge reply to see the actual error message.
    Output Limit ExceedYour program tried to write too much information. This usually occurs if it goes into a infinite loop. Currently the output limit is 1M byte.
    JudgingThe Judge System is now judging your program. Wait for a few seconds, you will get the result.
    QueuingThe Judge is so busy that it can't judge your submit at the moment, usually you just need to wait a few more seconds and your submit will be judged.
    Internal ErrorUnknown error occurs. This rarely happens. If you encounter this message, please contact me as soon as possible.



    Fuzhou University Online Judge System
    Any problem, Please Contact Administrator