Time limit exceeded!

Revision en1, by start_code_end, 2021-05-07 18:30:13

Hey everyone! I am getting "Time limit exceeded" prompt on a fairly easy question. Here's my code: https://codeforces.com/problemset/submission/1520/115570147. Can somebody point out why is my code exceeding the time limit with suitable corrections? Thanks in advance!


  Rev. Lang. By When Δ Comment
en1 English start_code_end 2021-05-07 18:30:13 288 Initial revision (published)