7

Why am I getting a TLE ?

 1 year ago
source link: https://codeforces.com/blog/entry/116881
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

I exactly implemented the tutorial for the problem G. Hits Different. The solution they gave looks like they have the same time complexity as mine. But still, I get a TLE on test case 2. My Submission


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK