What Else Should I Expect from Codechef!

Правка en3, от amankp7, 2023-07-06 08:26:09

After practicing leetcode and gfg and giving contest on the same. I decided to come back again to codeforces and codechef and today was CodeChef Starter 97. My friend who set up the contest suggested me to participate in the contest and I went for it. Solved A in 3-4 mins an easy sliding window question.

Then comes the B of Div 2: I gave thought to the question and found the logic. I immediately wrote the solution and submitted it, and this is what happened

I got TLE. After debugging and thinking about the time complexity of the code, I found that the code was completely fine and should be accepted after wasting one and a half hours during the contest. I implemented the lower_bound by myself, and it got Accepted. And I was like, WTF!!

After the contest, I talked to my friend absolute-mess, and he submitted the same code, and guess what? The same code got Accepted.  CodeChef was high during the contest

This was not expected in the running contest. Disappointed with CC. How Codechef will justify this sh*t!!!!

My submission : My Submission

Sanskar's Submission(Same code) : My Friends Submission

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский amankp7 2023-07-06 08:26:09 52 Tiny change: 'lute-mess][user:absolute-mess]' -> 'lute-mess]'
en2 Английский amankp7 2023-07-05 21:04:00 18
en1 Английский amankp7 2023-07-05 21:01:44 1464 Initial revision (published)