diff --git a/judge/log/.gitignore b/judge/log/.gitignore new file mode 100644 --- /dev/null +++ b/judge/log/.gitignore @@ -0,0 +1,2 @@ +[^.]* + diff --git a/judge/result/.gitignore b/judge/result/.gitignore new file mode 100644 --- /dev/null +++ b/judge/result/.gitignore @@ -0,0 +1,1 @@ +[^.]* diff --git a/judge/scripts/std-script/box.cc b/judge/scripts/std-script/box.cc --- a/judge/scripts/std-script/box.cc +++ b/judge/scripts/std-script/box.cc @@ -109,7 +109,7 @@ } static void NONRET __attribute__((format(printf,1,2))) -die(char *msg, ...) +die(const char *msg, ...) { va_list args; va_start(args, msg); @@ -119,7 +119,7 @@ } static void __attribute__((format(printf,1,2))) -log(char *msg, ...) +log(const char *msg, ...) { va_list args; va_start(args, msg); diff --git a/judge/scripts/test/sandbox/.gitignore b/judge/scripts/test/sandbox/.gitignore new file mode 100644 --- /dev/null +++ b/judge/scripts/test/sandbox/.gitignore @@ -0,0 +1,1 @@ +[^.]*