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

Автор Syrian, история, 4 года назад, По-английски

Hello codeforces queens

its t7ya back at it again with the fire blogs

so peep this submission:

https://codeforces.me/contest/1702/submission/163553251

this guy avoided getting hacked without having to use neal's unordered map stuff or similar hashing functions. just one include. can anybody explain how this works. is it hackable?

shout out to my man almosabhali. mans a genius

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

»
4 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by Syrian (previous revision, new revision, compare).

»
4 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

wtf you can write "and" instead of "&&"??????

»
4 года назад, скрыть # |
 
Проголосовать: нравится +42 Проголосовать: не нравится

https://codeforces.me/contest/1702/hacks/827637

They simply found a different hashmap that no one's heard of yet. If you poke around in the source file of ext/hash_map it works exactly the same way as unordered_map, just with a different prime list.

The List