Hany_Osama's blog

By Hany_Osama, history, 4 days ago, In English

I've always seen people submitting their solutions with execution times really close to the time limit, and I found it fascinating. I kept wondering—when will I get my moment of hitting the time limit edge while still getting Accepted (AC)?

Well ,it finally happened!

I submitted my solution and got 999ms on my first attempt. Seeing that, I decided to challenge myself—could I make it exactly 1000ms and still get Accepted? I tweaked my code, ran another submission, and I DID IT! The execution time was precisely 1000ms, and I still got AC.

  • Vote: I like it
  • +97
  • Vote: I do not like it

»
3 days ago, # |
  Vote: I like it +5 Vote: I do not like it

man ur SOOOOOO cool

»
3 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Guess what... I have a submission using sparse tables that TLE's but passes when I do

ios_base::sync_with_stdio(false); cin.tie(0); // cout.tie(0); // doesn't actually fast the things up.

»
3 days ago, # |
  Vote: I like it 0 Vote: I do not like it

I can't even think of what to think after reading this

»
44 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

edging gooner