What is the problem?

Revision en1, by Akhmadzhanov, 2024-05-08 17:55:54

Today I wanted to solve this problem: Heavy Intervals But I got TLE3 code: 260013398. that's why I changed the code a little bit and my code(260014069) was correct. But I don't understand how? Can you explain?

Here are the differences between my first and second codes

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Akhmadzhanov 2024-05-08 17:55:54 576 Initial revision (published)