SPOJ.com - Problem ABA12C PROBLEM Online Compiler and IDE - GeeksforGeeks SOLUTION GETTING TLE PLEASE HELP