Snow's blog

By Snow, history, 2 years ago, In English

Hi there, Is there any page where to practice distributed algorithms?, codejam distributed seems really good however the problem list isn't available ( it says Coming Soon )

Thanks in advance.

Full text and comments »

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

By Snow, history, 2 years ago, In English

I have been solving Stone Age Problem and something caught my attention, what is the real complexity for map.clear and unordered_map.clear

The same code using map.clear passes but unorder_map.clear however cppreference says both are linear, so what is the real complexity.

UPD1: I have proved that isn't related with collision because I haven tested initiating a new one instead of cleaning and it passes. AC

Full text and comments »

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

By Snow, history, 5 years ago, In English

I have just seen that Petr & Egor moved from Java into C++, do you know why they have moved ? , any strong reason for it ?

Full text and comments »

Tags c++
  • Vote: I like it
  • +91
  • Vote: I do not like it