Блог пользователя chennie

Автор chennie, история, 7 недель назад, По-английски

prolem link

During the contest, I wrote a solution whose complexity depends on the value range, and it passed the pretests. Later I noticed that the statement allows (a_i) up to (10^9), so I rewrote my solution and skipped submitting the previous one.

However, after the contest it seems that in the final tests the actual range of (a_i) is only around (10^6). Because of this, my original solution would have passed.

This change cost me some time during the contest and also resulted in a penalty. I wonder if it would be possible to adjust the stated data range, accept the skipped solution, or remove the skipped submission penalty.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +136
  • Проголосовать: не нравится