mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-28 16:01:41 +00:00
fix return value
This commit is contained in:
parent
7017b1838a
commit
c979cd8e22
14
runner.h
14
runner.h
@ -14,13 +14,13 @@
|
||||
|
||||
#define SUCCESS 0
|
||||
|
||||
#define FORK_FAILED -1
|
||||
#define WAIT4_FAILED -2
|
||||
#define RUN_FAILED -3
|
||||
#define SETITIMER_FAILED -4
|
||||
#define SETRLIMIT_FAILED -5
|
||||
#define DUP2_FAILED -6
|
||||
#define EXCEVE_FAILED -7
|
||||
#define FORK_FAILED 1
|
||||
#define WAIT4_FAILED 2
|
||||
#define RUN_FAILED 3
|
||||
#define SETITIMER_FAILED 4
|
||||
#define SETRLIMIT_FAILED 5
|
||||
#define DUP2_FAILED 6
|
||||
#define EXCEVE_FAILED 7
|
||||
|
||||
#define CPU_TIME_LIMIT_EXCEEDED 1
|
||||
#define REAL_TIME_LIMIT_EXCEEDED 2
|
||||
|
Loading…
Reference in New Issue
Block a user