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

Автор Shrimb, история, 22 месяца назад, По-английски

Hello codeforces queens

its t7ya back at it again with the fire blogs

so peep this submission:

https://codeforces.com/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
  • Проголосовать: не нравится

»
22 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
22 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
22 месяца назад, # |
  Проголосовать: нравится +42 Проголосовать: не нравится

https://codeforces.com/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