diff --git a/judger.c b/judger.c index e3a5933..8e8e2b2 100644 --- a/judger.c +++ b/judger.c @@ -112,7 +112,7 @@ static PyObject *judger_run(PyObject *self, PyObject *args, PyObject *kwargs) { } if(config.use_nobody && getuid() != 0) { - PyErr_SetString(PyExc_ValueError, "root use is required when using nobody"); + PyErr_SetString(PyExc_ValueError, "root user is required when using nobody"); return NULL; } diff --git a/tests/12/12/12/Main.c b/tests/12/12/12/Main.c deleted file mode 100644 index 90449db..0000000 --- a/tests/12/12/12/Main.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main() -{ - // 150m - int big_size = 150 * 1024 * 1024; - - int *b = NULL; - - b = (int *)malloc(big_size); - memset(b, 0, big_size); - return 0; -} diff --git a/tests/12/12/12/config b/tests/12/12/12/config deleted file mode 100644 index 474ea7b..0000000 --- a/tests/12/12/12/config +++ /dev/null @@ -1 +0,0 @@ -{"language": "c", "max_cpu_time": 300, "max_memory": 100000000} diff --git a/tests/12/12/12/out b/tests/12/12/12/out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/12/12/12/result b/tests/12/12/12/result deleted file mode 100644 index 2ce151d..0000000 --- a/tests/12/12/12/result +++ /dev/null @@ -1 +0,0 @@ -{"flag": 3, "signal": 0} diff --git a/tests/12/12/Main.c b/tests/12/12/Main.c deleted file mode 100644 index 90449db..0000000 --- a/tests/12/12/Main.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main() -{ - // 150m - int big_size = 150 * 1024 * 1024; - - int *b = NULL; - - b = (int *)malloc(big_size); - memset(b, 0, big_size); - return 0; -} diff --git a/tests/12/12/config b/tests/12/12/config deleted file mode 100644 index 474ea7b..0000000 --- a/tests/12/12/config +++ /dev/null @@ -1 +0,0 @@ -{"language": "c", "max_cpu_time": 300, "max_memory": 100000000} diff --git a/tests/12/12/out b/tests/12/12/out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/12/12/result b/tests/12/12/result deleted file mode 100644 index 2ce151d..0000000 --- a/tests/12/12/result +++ /dev/null @@ -1 +0,0 @@ -{"flag": 3, "signal": 0}