Need Help In this Question

This question

Problem Statement

is 3 problem From Google Codejam 2020 which was held Yesterday.

Here this is my solution for the 3rd question but I don’t Understand why this is Giving WA

My Solution

Can anyone please help??
@ssjgz

1 Like