summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b74e5a9)
die if defined $contest && $contest !~ /^\w+$/ ;
die if defined $contest && (time > contest_end $contest);
return reply 'A required parameter was not supplied' if grep { !defined } $problem, $format, $prog;
die if defined $contest && $contest !~ /^\w+$/ ;
die if defined $contest && (time > contest_end $contest);
return reply 'A required parameter was not supplied' if grep { !defined } $problem, $format, $prog;
+ return reply 'Maximum source size is 10KB' if length $prog > 25 * 1024;
return reply 'You must wait 30 seconds between jobs' unless time > lastjob ($r->user) + 30;
set_lastjob $r->user;
return reply 'You must wait 30 seconds between jobs' unless time > lastjob ($r->user) + 30;
set_lastjob $r->user;