DashratRajpurohit's blog

By DashratRajpurohit, history, 8 months ago, In English

Yesterday, I felt like a king because I solved a few A-problems. Today? Today, the Codeforces judge reminded me that I am, indeed, a Newbie.In Frontend, if a button is 2px off, the site still works. In Competitive Programming, if your integer overflows by 1, or you forget that $$$n$$$ can be $$$1$$$, the whole thing collapses.The Lesson Learned: Thinking, Not GuessingI spent two hours today on a problem that looked simple. I kept hitting "Wrong Answer on Test 2."The Newbie mistake: Changing a + to a — and hitting submit again, hoping for magic.The Engineering fix: Actually sitting down with a pen and paper to trace the logic.I’m realizing that CP isn't about how fast you type; it's about how clearly you think before you touch the keyboard.A Little CP HumorMe: "My code is perfect. It works on the sample test cases."The Judge: "Allow me to introduce you to... Extreme Constraints."Help me out!I'm currently using C++. I've heard people talk about long long vs int being the reason for many "Wrong Answer" verdicts.To the experts: What are the "Top 3" things you check first when you get a WA (Wrong Answer) but your logic feels solid?Current Progress:Rating: 0 (Unrated) - Patiently waiting for my first contest!Mood: Humbled, but motivated.

Full text and comments »

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

By DashratRajpurohit, history, 8 months ago, In English

Hello Codeforces community!

I’m Dashrat, a Computer Science student currently diving deep into the world of Competitive Programming. You might see my profile DashratRajpurohit and notice I’m just starting out.

My background is actually in UI/UX and Frontend Development. I spend a lot of time making things look pretty in Figma, but I’ve realized that to be a truly great engineer, I need to master the "brain" of the application: Algorithms and Data Structures.

Why I’m doing this: I don’t just want to "guess" my way through a problem. I want to understand systems, write cleaner C++, and solve problems with logic that is as sharp as a well-designed UI.

Current Goal: * Move from Newbie to Pupil. - Master basic implementation and Greedy algorithms. - Stop being afraid of the "Submit" button!

Funny CP Fact of the Day: Did you know that "Rubber Duck Debugging" works for CP too? Sometimes explaining your logic to a plastic duck helps you realize why your binary search is stuck in an infinite loop before the judge tells you "Time Limit Exceeded."

I need your advice! As a complete beginner starting with C++, what is the one mistake you made as a Newbie that I should avoid? Is it over-complicating simple problems, or ignoring the constraints? Let me know in the comments!

Full text and comments »

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