why my solution get TLE?

Revision en1, by Yasuho_Hirose, 2022-01-28 12:39:08

here is my solution: https://codeforces.me/contest/1624/submission/144304382 for this problem: https://codeforces.me/contest/1624/problem/E I think time complexity of this solution is O(n*m) is small enough, but why this still give TLE? Thanks you for read my shi* blog.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Yasuho_Hirose 2022-01-28 12:39:08 299 Initial revision (published)