博文
OJ FAQ(2012-01-31 00:28:00)
摘要:GDUT Online Judge FAQ
Q: What platform the judge system running on and what are the compiler options?
A: The online judge system is running on Windows server 2003. We are using GNU MinGW GCC/G++ and the VC2003 compiler.The compile options are:
C: gcc foo.c -o foo.exe -ansi -fno-asm -O2 -Wall -lm --static
C++: g++ foo.c -o foo.exe -ansi -fno-asm -O2 -Wall -lm --static
VC2003: cl foo.cpp /G7 /MD /Ox /Ot /W3 /EHsc /link /OPT:NOWIN98
Q: What kind of input and output can I use at Online Judge?
A: Only standard input and output can be used.
You can solve problem 1000 in these ways:
C
#include <stdi......