u/Death_note7810

https://preview.redd.it/bxqitcqbrhzg1.png?width=1603&format=png&auto=webp&s=15829da54c6b57bde1c577083063e3307ef2419c

So, I have given 2 contests (618 rating) till now including this, earlier one was also Div 2 solved 1 then for 1 month i practiced my greedy and prefix approach for sums on leetcode and codeforces. solved around 100 questions in leetcode and solved cp31 1000 rated all problems. I thought I could easily solve Div-2 A and B and will get little problem in C

But in today's contest, I solved A in 5 min (which I was really impressed) just some error because didn't carefully read what to show in output

then tried B, I heard MEX term for first time, I solved the sum, but I was sure it will get TLE as it was over engineered, submitted it got wrong on pretest 2, also I was not getting any approach to solve it in less TC

Switched to C, I thought it was damn easy just had to check first and last character of a and b and equal number of '(' and ')', wrote code tested for pretest 1, worked so submitted the code but failed pretest 2. Tried 2-3 times not working then gave up, so pasted my question and approach on AI, understood my whole approach was wrong and it was greedy question

Don't know how to improve now, for now my goal is to cross 1200 rating and solve Div-2 A B C easily

I solved less question on codeforces but on lc I have around 100 questions solved

reddit.com
u/Death_note7810 — 8 days ago