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

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

Dear all,

In the past 3 days or so, I've noticed that the Codeforces website loads quite slowly. Every click into the problemset, glance at the contest or any link here takes 5~20 seconds to load. However, other websites like Youtube run perfectly on my computer. Why is this so? Is this happening elsewhere? Any help would be appreciated.

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

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

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

Dear all,

I tried to write a program that called a function that used a temporary vector of size 10 10^6 times. This program ran for around 1 ~ 2 seconds. However, when I switched the vector to a bool array, it ran in 0.18 seconds. Why is there such a big difference?

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

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