Interesting situation with hash() C++

Revision en3, by exh3, 2017-01-27 14:07:48

Hi everybody!

I'm trying to solve this problem 4C - Registration System. My last solution is 24184665. I've found, that if I run code on my PC, I'll take another answer than if I run same code on Codeforce's server. Compiler — MS VS C++ 2010. For example:

Test data: test data

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru1 Russian exh3 2017-01-27 14:43:25 579 Первая редакция перевода на Русский (опубликовано)
en3 English exh3 2017-01-27 14:07:48 190
en2 English exh3 2017-01-27 14:06:40 33 Tiny change: 's server. For exam' -> 's server. Compiler - MS VS C++ 2010. For exam' (saved to drafts)
en1 English exh3 2017-01-27 14:06:13 394 Initial revision (published)