Media Summary: I have solved this using 2 approaches. One by filling the DP array and other by pure Mathematics Codeforces Round 1102 (Div 2) Problem B Palindrome, Twelve and Two Terms Explained In this video, I explain the solutions to
Codeforces Round 569 Problem B - Detailed Analysis & Overview
I have solved this using 2 approaches. One by filling the DP array and other by pure Mathematics Codeforces Round 1102 (Div 2) Problem B Palindrome, Twelve and Two Terms Explained In this video, I explain the solutions to