Problematic TestCases

I submitted this problem around 10 times before I opened the solution for it.Then I copied the editorial and submitted it.Still it’s passing only 1 test case.

@omkarkhodwe hey, try hard refresh your browser and than submit it again ,it happen sometime if problem still exist than ask me.

Just tried hard refresh.Problem still persists.

@omkarkhodwe hey ,fir editorial me dikkt hogi ,koi aur solution try krlo.

Got it.I found a solution involving string multiplication.If possible please change the editorial as many people have had problem in this question in the past.I looked it up in the forum.

@omkarkhodwe yes ,sure I will ask my seniors.