[HELP] Is there any working custom hash?

Revision en1, by simp_pro, 2023-10-15 12:33:16

I tried looking for custom hashes but they are making my TL worse.

Submission without custom hash give TLE on test 58 (https://mirror.codeforces.com/contest/1806/submission/228273003)

Submission with custom hash gives TLE on test 10 only (https://mirror.codeforces.com/contest/1806/submission/228272848)

Tried changing fixed_random to some custom random value but still TLE on test 10 (https://mirror.codeforces.com/contest/1806/submission/228273244)

Tags hashing

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English simp_pro 2023-10-15 12:33:16 478 Initial revision (published)