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

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

I am getting TLE for a simple java program for reason I can't find. I read past blogs and found that using Scanner and sorting primitive type arrays is the general reason, but my program isn't in any of those category.

My submission: https://mirror.codeforces.com/contest/1206/submission/61017893

EDIT: Using the PrintWriter instead of System.out.printf() worked.

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

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