For C source files the following command is used
For C++ source files the following command is used
For Pascal source files the following command is used
For Java source files the following command is used
Your program is executed in a chroot jail directory with the least possible privileges, and therefore it can not access any of the grader's resources.
By the time limit we assume the CPU time that your program uses. If the time limit is one second, and your program uses only 50% of the CPU time, it will be allowed to run for 2 seconds. However, as always there is a small error of measurement. Because of that all the limits are chosen to be pretty generous. In most cases the official solution uses only one third or one fourth of the allowed time limit.
By the memory limit we assume the total memory used by your program. This includes the program memory, the heap and the stack. When your program tries to obtain more memory than allowed it gets terminated.
There are two additional limits that are constant for all the programs.