captainkhan's blog

By captainkhan, history, 6 weeks ago, In English

I was solving the Div. 2 (B) problem THU Packing Puzzle from a recent contest, and my solution failed on test #2.

In test #1, it ran 5 test cases and all of them passed. However, in test #2, it processed around 9260 test cases, and my solution failed at test case 441. The issue is that I genuinely want to understand why it failed and what specific constraints or input caused the failure. Unfortunately, the platform only shows: “wrong answer 441st numbers differ — expected: '3', found: '6'” and the rest of the test input is hidden behind “...”, which is not clickable.

So this is a kind request to Codeforces to consider adding a feature (or button) that allows users to view such failing test cases (at least partially or with constraints), as it would greatly help in debugging and encourage users to improve rather than give up.

Also, if anyone knows a way to access or reconstruct those hidden test cases, I would really appreciate the help.

Full text and comments »

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

By captainkhan, history, 2 months ago, In English

I have participated in the latest three contests (Div. 2 & Div. 1 + Div. 2) that recently took place, and thankfully I was able to solve the first question in each of them and end up with a positive rating. As someone who has got the privilege of competing not only with people from my country but with people from all over the world, it feels incredibly uplifting even when you improve in the slightest. It’s good to see that my intuition is starting to work, based on the advice many bright minded people here have given me. As somewhat of a “summer child” I find it amazing that I’m even able to compete with them. I know it’s just the first problem, but I’m happy that I can solve it within about 25 minutes now. I know it may not be a big deal to many others, but these small improvements mean a lot to me. You guys can probably relate, right? When you first came to this platform, that feeling of finally improving. During the contest, getting an AC on a problem that even maspy didn’t get on the first try felt very encouraging to me. (By the way, I love your coding style, maspy!)

P.S. This blog isn’t about getting upvotes. It’s just that my feelings took over, and I wanted to share this with you guys. This is for those who have been trying for a long time but still haven’t reached their expectations yet; don’t give up. I hope to learn more from you all and help those whom I can.

I know it might be silly that I didn’t try today’s Problem B, but come on guys... tomorrow is my university exam, and here I am solving these beautiful problems. Anyway, I’m probably already late. See you guys later!

Full text and comments »

  • Vote: I like it
  • -21
  • Vote: I do not like it

By captainkhan, history, 3 months ago, In English

So, I was just looking at others' solutions after the CF Round 1085 (Div. 1 + Div. 2). Then I clicked on the friends button and, curiously enough, clicked on our beloved rainboy's solution, I was astonished by how amazing his solution to the problem (H3) Bowser's Castle (Hard Version) was, So, I decided to write a blog to share it with all of you here. Here it goes 365900862

Full text and comments »

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