Getting TLE in half of the test cases


Please check my code

Hello @rkrishna
ur code is correct and passing all test cases.
pls submit here .
https://csacademy.com/contest/archive/task/black-shapes

cb checker has some issue even editorial soultion is giving tle.

Can you contact CB for this issue… as I can see you are a TA/Member at Coding blocks

they are already aware of this issue.

So, why they are not rectifying it!!
Its totally strange!

it is not in my hand, i m not a part of technical team.i m just a ta.

u can write ur issue at [email protected]
for any technical issue

Ok I will write,
So in reason should I mention that csacademy wala problem?

And thank you for verifying my solution @aman212yadav

yeah u can mention it clearly that ur solution is getting accepted over csacademy .but it is showing tle at cb .