Unable to detect the bug in the polynomial hash function
I am getting a WA on testCase 6.
Question — Div 2C
My Submission
Colin X Sam X Shayan | Easy Problems Duel | NAC Warmup #1
Codeforces Round 946 Solution Discussion