I want to solve this problem https://mirror.codeforces.com/contest/1029/problem/A but unable to implement that finding the period of substring in string if someone share approach it will great help
How to count the period in string
I want to solve this problem https://mirror.codeforces.com/contest/1029/problem/A but unable to implement that finding the period of substring in string if someone share approach it will great help