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

Правка en1, от 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.

Теги wcipeg, #oj.uz

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ricardogg 2019-06-10 19:36:10 6987 Initial revision (published)