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

Автор Damon, 10 лет назад, По-английски

Hi, bro !

I was trying to solve problem 126C - E-reader Display !

In this problem n is at most 2000, and my algorithm was O(n*n*log n).

getting input with cin : 5857002

getting input with scanf : 5858216

But my code got TLE , and I can't find it reason.

If you know it, please tell me !

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