271D-Good Substring!! Can't this problem be solved with single hash as in Rabin-Karp Rolling hash!! HELP NEEDED!!

Revision en1, by wallcrawler, 2018-07-19 20:23:37

I was solving this problem with the use of single hash and got wrong answer which means conflicts are arising. I've seen other users submission, they've solved it using double hashes, so I was wondering that can't this problem be solved using single hashing. Link to my submission:

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English wallcrawler 2018-07-19 20:23:37 453 Initial revision (published)