TLAPM code: CodeChef: Practical coding for everyone)
I have used concept of sum of ap terms to find out and add only required cells of grid.
Submission results shows wrong answer.
Can someone help me with what is wrong with the code…Which test cases are failed?