UOJ Logo snakes的博客

博客

Frequently Asked Questions Answered (Unoffical English Version)

2016-08-19 11:35:01 By snakes

Frequently Asked Questions Answered

Unoffical English Version


1. What is UOJ?

Click Here.

2. How to upload the avatar when I signed in?

UOJ doesn't store avatars. It is annoying to upload an avatar for every site, isn't it? UOJ supports Gravatar, use it please! Gravatar is a global avatar storing service. Your avatar will be associated with your email address. In many sites like Wordpress and many Online Judge Systems like Vijos and Contest Hunter, if you fill in the email address correctly, your avatar will be shown at once.

3. The judging environment of UOJ?

The judging environment is Linux, on Ubuntu 14.04, 64-bit system.

C++ compiler is g++ 4.8.4. The command to compile your code is g++ code.cpp -o code -lm -O2 -DONLINE_JUDGE. If you choose C++11, we will add -std=c++11 to the compile command.

C compiler is gcc 4.8.4. The command to compile your code is gcc code.c -o code -lm -O2 -DONLINE_JUDGE.

Pascal compiler is fpc 2.6.2. The command to compile your code is fpc code.pas -O2.

The JDK Version of Java7 is jdk-7u76. The command to compile your code is javac code.java.

The JDK Version of Java8 is jdk-8u31. The command to compile your code is javac code.java.

Python will compile to optimized Byte-code file .pyo first. Supporting versions of Python are Python 2.7 and 3.4.

4. Why it doesn't stack overflow when I recurse $10^7$ times?

That's right! Unless under special circumstances, The size of stack is same as the memory limit of the problem when judging a program on UOJ.

5. How to use the blog system?

Click Here.

6. How to test the interactive problems locally?

Hmmm... It's a good question. This kind of problems usually give you a header file to include, and a source file, the grader, implementing the interfaces. It seems that many of you aren't familiar with compiling more than one source file at the same time.

For C++: g++ -o code grader.cpp code.cpp

For C: gcc -o code grader.c code.c

Otherwise, you can copy the content of grader completely and paste it after your include statement. It also works!

What? You are the cutest Pascal contestant? The problem gives you a grader as usual. You should make a Pascal unit and the grader will use your unit. So you only need to name your source file the unit name + .pas.

And for Pascal: fpc grader.pas.

Then we are finished!

7. Contact Information

If you want to host a problem or hold a competition, discover a bug, or have suggestions for UOJ, you can contact us through the following ways:

  • Contacts vfleaking by UOJ Message.

  • Mail to vfleaking@163.com.

  • You can also join our QQ group. The group id is 197293072, and the group name is Universal OJ Users Group.

Translation by Snakes.

If you find any mistakes, please leave a comment below.

Special thanks to Dram for his contribution!

评论

ridiculos
front Orz snakes
snakes
@vfleaking
vfleaking
哇! “use use it please” [捂脸熊]
dram
看着不爽啊怎么破 瞩目:C++ compiler is gcc 4.8.4 然后以下是一些建议 UOJ doesn't support the avatar storing service. $\rightarrow$ UOJ doesn't store avatars. linked with your email address $\rightarrow$ associated with ... The compile command $\rightarrow$ The command to compile your code/The command for compilation Unless the special condition $\rightarrow$ Unless under special circumstances How to use blog? $\rightarrow$ How to use the blog system/blogging system ...不能超过1000个字节
dram
... This kind of question usually gives you a header file to include. And a source file grader to implement the interfaces $\rightarrow$ This kind of problem usually give you a header file to include, and a source file, the grader, implementing the interfaces. Then we finished $\rightarrow$ Then we are finished. If you want to make out problems or hold a competition, or you found a bug, or have suggestions for UOJ, you can contact us through the following ways: $\rightarrow$ If you want to host a problem or hold a competition, discovers a bug, or have suggestions for UOJ, you can contact us through the following ways: If you found any mistakes, leave a comment below please. -> If you find any mistakes, please leave a comment below
ruanxingzhi
orzorz
snakes
@dram 改好了QAQ 我太弱了您太神了%%% 好劲啊!%%% orzorzorz
changke
他们这里洋文好的人多的很呐!

发表评论

可以用@mike来提到mike这个用户,mike会被高亮显示。如果你真的想打“@”这个字符,请用“@@”。