Permalink
Browse files

Fix: Perl loader may fail as it does not return a true value.

Fix: Remove NZEC from easy judge reply.
  • Loading branch information...
1 parent 7d8dc46 commit 787b57a55765dd9b1ec63ffecd9742fad7b2bbc3 @licheng licheng committed Sep 19, 2010
@@ -24,3 +24,9 @@ $SIG{__DIE__} = sub {
setrlimit(RLIMIT_DATA, $memory_limit, $memory_limit + 1);
setrlimit(RLIMIT_AS, $memory_limit + 10 * 1024 * 1024, $memory_limit + 10 * 1024 * 1024 + 1);
+# just uses some more memory to keep memory usage away from zero...
+my %_foooo = ();
+for (my $_barrr = 1; $_barrr < 1000; $_barrr++) {
+ $_foooo{$_barrr} = '................';
+}
+1;
@@ -559,7 +559,6 @@ private PreparedStatement buildQuery(String perfix, SubmissionCriteria criteria,
JudgeReply.TIME_LIMIT_EXCEEDED,
JudgeReply.MEMORY_LIMIT_EXCEEDED,
JudgeReply.SEGMENTATION_FAULT,
- JudgeReply.NON_ZERO_EXIT_CODE,
JudgeReply.COMPILATION_ERROR,
JudgeReply.PRESENTATION_ERROR}));

0 comments on commit 787b57a

Please sign in to comment.