Snow's blog

By Snow, history, 13 days 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.

Read more »

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

By Snow, history, 2 months 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

Read more »

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

By Snow, history, 3 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 ?

Read more »

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