Any help on this problem? (String Hashing)

Правка en1, от PedroCastillo, 2018-11-26 09:52:40

Hi, I'm attempting this problem with string hashing.

It works well for small inputs but gives wrong answer on very large inputs.

Any help on what could be wrong?

Problem : https://mirror.codeforces.com/contest/271/problem/D

Submission: https://mirror.codeforces.com/contest/271/submission/46239564

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский PedroCastillo 2018-11-26 09:52:40 337 Initial revision (published)