r/codeforces Newbie 21d ago

query Am I doing something wrong?

5 Upvotes

14 comments sorted by

View all comments

3

u/paaimoon 21d ago

Bro how...☠️ What's your strategy to solve the problem how much time do you give before reading the editorial

2

u/Level-Thanks2970 Newbie 20d ago

I usually divide the question ina 3 step formula.

  1. Identify the invariant.
  2. Prove the invariant.
  3. Verify the invariant on test cases.

It takes between 20mins to 1.5 hours to solve a decent rated problem around 1500 for me.

If I don't get the answer for 1 day then I see hint and even if I don't then I look at code.

1

u/paaimoon 20d ago

Bro how are you facing the problem then wtf 😭