Is oj.uz or wcipeg more convenient for solving IOI problems

Revision en1, by ricardogg, 2019-06-10 19:36:10

I'm not sure if we are allowed to discuss about other judges on codeforces, however solving problems from IOI is not available on codeforces.

I was trying to solve problem Holiday from IOI 2014. I know two judges that have this problem available — Oj.uz and Wcipeg. Namely my solution works on Wcipeg and gets accepted, while it fails on Oj.uz due to error message: Execution killed with signal 9 (could be triggered by violating memory limits). I don't know whether my solution is correct or not, also if it is correct why it doesn't work on Oj.uz

I have given my both codes below, since the way those two judges work is different, wcipeg gives us the variables on standard input, while on oj.uz we need to code function that will solve the problem.

Wcipeg code
Oj.uz code

If you had similar experiences, please share them, also I would like to know why my solutions fails on oj.uz.

Tags wcipeg, #oj.uz

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ricardogg 2019-06-10 19:36:10 6987 Initial revision (published)