le9018468's blog

By le9018468, history, 6 years ago, In English

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.

Full text and comments »

  • Vote: I like it
  • +96
  • Vote: I do not like it

By le9018468, history, 6 years ago, In English

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?

Full text and comments »

  • Vote: I like it
  • +11
  • Vote: I do not like it