Mitpro's blog

By Mitpro, 3 months ago, In English

Guys... Please

Full text and comments »

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

By Mitpro, 3 months ago, In English

I am very sorry for problem F, and M, solution for them are wrong, F is fixed, but M is not

I hope you enjoyed the contest! Thank you for participating! This is my first round on Codeforces, so there might be many mistakes, I would be happy to hear your feedback in the comments.

663295A — Jack and time

Approach: Mitpro

Hint
Editorial
Solution(C++)

663295B — Palindromic Subsequence

Approach: Mitpro

Hint
Editorial
Solution(C++)

663295C — Palindromic Substring

Approach: Mitpro

Hint
Editorial O(n^3)
Code (C++)
Editorial O(n)
Solution (Python 3)

663295D — Dino and Game

Approach: Mitpro

Hint
Editorial
Solution(C++)

663295E — Sum Digital Root

Approach: Mitpro

Hint
Editorial
Solution(C++)

663295F — Elevator

Approach: Mitpro

Editorial
Solution(C++)

663295G — Kun and Palindrome

Approach: Mitpro

Hint
Editorial
Solution(C++)

663295H — Mario and pipes

Approach: Mitpro

Hint
Editorial
Solution(C++)

663295I — Magical Box

Approach: Mitpro ; Code: Mitpro

Hint
Editorial
Solution(Python 3)
Hint
Editorial 2
Solution 2(C++)

663295J — Adjacent XORs

Approach: Mitpro

Hint
Editorial
Code (C++)

663295K — Grandmaster and Chessboard

Approach: i_love_sqrt_decomp

Hint
Editorial
Code (C++)

663295L — Ducky Learns XORs

Approach: Mitpro

Hint
Editorial
Code (C++)

663295M — Palindrome Prefix

Approach: Mitpro

Hint
Editorial
Code (C++)

Full text and comments »

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

By Mitpro, 4 months ago, In English

Hello Codeforces

I am glad to invite you to take part in my contest. The round will be in ICPC style, but penalty won't count (if your solution is skipped, don't worry, I skip WA submissions to not count penalty). Note that problem K is supposed to be the last problem, but I am too lazy to change :). You can expect the difficulty of these problems to be Div. 4.

You will be given 13 problems to solve. It will start at Friday, January 9, 2026 at 22:15 (UCT+7) and ends at Friday, January 16, 2026 at 22:15 (UCT+7).

All the problems are authored my Mitpro

I would like to thank:

I hope you will enjoy the round and the problems!

This contest has already been made, but I decided to do make it become contest.

UPD1: Why do most of you register and do not solve the problems :(. I really want many people to solve it because I put a lot of time in the problems.

UPD2: Who ever gets top 10 after the contest ends will get a shout out, who ever gets top 5 will have the option to be co-author next round!

UPD3: Who ever gets top 15 after the contest ends will get have the option to be tester next round!

UPD4: Congratulations to the winners!

  1. MisterGir

  2. am_aadvik

  3. WA_ON_TEST_2

  4. rpam

  5. bramar2

  6. DigiTalDreamar

  7. wtf.rjdp1

  8. Zeeshan-Haider-Alvi

  9. kamyak

  10. Kalevion

UPD5: Editorial!

Full text and comments »

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

By Mitpro, 5 months ago, In English

After a year of grinding, I finally reached Expert!

Hitting Expert feels great, but ratings are not stable: one bad contest and the whole thing can vanish. So I figured I should post this before I am no longer Expert, share my journey to get here and what I had to do to improve, hope it helps you improve too!

I started competitive programming on Codeforces without really knowing what I was doing. My first contests were hard, I was averaging around $$$9000+$$$ rank, barely solving anything on time, and mostly just trying to understand how people were so fast. But I kept joining contests.

I began practicing outside of contests, reading editorials, and learning algorithms on Codeforces. My average contest rank changed from $$$9000$$$ to around $$$\textbf{5500}$$$! And that was enough to reach Pupil for the first time. It felt huge! My first real sign of progress.

After that, $$$\textbf{I started LeetCode}$$$, with more consistency, better problem recognition, and implementation, I pushed my average rank to about $$$\textbf{3000}$$$! That was when I started to believe I could actually climb higher. Becoming Specialist made me remember when I said: "I just HOPE I can get 2 problems". And now: "Problem C $$$1500$$$ score distribution? Easy".

Expert was the toughest so far. I had to fix bad habits, stop rushing, and reduce silly mistakes (but I still forgot to add memo.clear() in last problem D which cost me like 20 minutes in the contest!). My average rank slowly got down to around $$$\textbf{2000}$$$, that’s when I finally hit Expert!

Full text and comments »

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

By Mitpro, 6 months ago, In English

bonavaraWowie

Like, look in his profile:

  • first contest Div. 2, solved 1 problem, seems normal

  • second contest Div. 2, solves 3 problems: A, B, D. Sus

  • third contest Div. 2, solves 1 problem. Ok, normal, ok, let's see his submissions:

Bro can't solve A, C but solves G1????!! But code doesn't look like ChatGPT

  • forth contest: last Div. 3, solves A, B, which already seems like a skill imbalance, but, look at his G submission that got TLE on test 5 here, WHAT!?? I don't even understand what any of this mean! The name is 100% ChatGPT, and the time gap between his submissions is way too short to have written all that code for G manually!

In conclusion

bonavaraWowie is 100% cheating! MikeMirzayanov, if he ever cheats again please ban this guy! Give him a second chance.

Full text and comments »

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

By Mitpro, 6 months ago, In English

How to solve this problem?

Problem

I thought the solution was simple at first, but it turned out to be too complicated for me.

The tricky part is this test (thanks to puravjn for the test):

6
......
....#.
.#####
.#.#..
......
......

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it