Gheal's blog

By Gheal, history, 15 months ago, In English

UPD: As of January 11th 2025, the rating changes have been recalculated, the rest of this blog is now obsolete :)

As per my previous blog, I did not quite reach GM after Good Bye 2024:

That blog, however, was written before the 2053I2 — Affectionate Arrays (Hard Version) incident:

As a result, to the best of my knowledge, $$$4$$$ participants have been made unrated. While normally this wouldn't be that big of an issue, the $$$4$$$ participants deemed affected by the last problem in the contest were, naturally, quite high up in the rankings.

This, in turn, made me gain $$$2$$$ spots, which, according to Carrot, increased my performance by at least $$$5$$$ points (from either $$$2665$$$ or $$$2667$$$ to $$$2675$$$), which means that I should have reached GM after Good Bye 2024.

For added context, the rating change still shows my rank as $$$157$$$, instead of $$$155$$$:

I am aware that this is incredibly petty (and I probably would have reached GM at some point anyways), but the main reason that I wrote this blog is that the rating changes for Hello 2025 have already been applied, without any sign that the rating chages for Good Bye 2024 will ever be recalculated.

Full text and comments »

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

By Gheal, history, 16 months ago, In English
  • Step 1: Reach Master
  • Step 2: Reach 2299 specifically
  • Step 3:

  • Step 4:

  • Step 5:

Full text and comments »

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

By Gheal, history, 2 years ago, In English

About a month ago, the 2023 edition of the Romanian Collegiate Programming Contest took place in Iasi as part of RCPCamp, an international ICPC camp organized in Romania by the Alexandru Ioan Cuza University of Iasi (UAIC).

The first day of RCPCamp was authored and prepared by myself, Juve45, lungualex00 and tibinyte2006.

We would like to thank the following people, who have played a pivotal role in making this contest possible:

The contest can be found here.

If you have any feedback regarding the problems, you can leave it here.

Full text and comments »

Announcement of RCPCamp 2023 Day 1
  • Vote: I like it
  • +42
  • Vote: I do not like it

By Gheal, 3 years ago, In English

1831A — Twin Permutations

Author: Gheal

Hints
Solution
Code (Gheal, C++)
Rate Problem

1831B — Array Merging

Author: tibinyte2006

Hints
Solution
Code (tibinyte, C++)
Rate problem

1830A — Copil Copac Draws Trees

Author: alecs

Hints
Solution
Code (Gheal, C++)
Code (alecs, C++)
Rate problem

1830B — The BOSS Can Count Pairs

Author: Gheal

Hints
Solution
Code (Gheal, C++)
Code (Vladithur, Python)
Rate problem

1830C — Hyperregular Bracket Strings

Author: Gheal

Hints
Solution
Code (Gheal, C++)
Rate problem

1830D — Mex Tree

Author: Gheal

Hints
Solution
Code (tibinyte, C++)
Rate problem

1830E — Bully Sort

Author: cadmiumky

Thanks to errorgorn for the solution!

Solution
Code (tibinyte, fenwick tree + ordered_set C++)
Code (tibinyte, sqrt decomposition, C++)
Code (errorgorn, divide and conquer, C++)
Rate problem

1830F — The Third Grace

Author: tibinyte2006

Thanks to errorgorn for the editorial!

Solution
Code (errorgorn, C++)
Code (valeriu, C++)
Rate problem

If there is anything wrong or unclear in this editorial, feel free to ping me or any of the other authors in the comments.

Full text and comments »

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

By Gheal, history, 3 years ago, In English

Hello, Codeforces! (or as we say in romanian, "Nu renunţ la tine niciodată")

I am glad to invite everyone to participate in Codeforces Round 833 (Div. 2), which will be held on 12.11.2022 17:35 (Московское время).

This round will be rated for all participants with rating lower than 2100.

You will be given 6 problems and 2 hours to solve them. All of the problems are authored by me.

I would like to thank the following people, without whom this round would not have been possible:

Here is the scoring distribution: $$$500−1000−1500−2000−2250-2750$$$

Good luck & have fun!

Edit 1: The round is over, the editorial can be found here.

Edit 2: Congratulations to the winners:

Div 1 + Div 2:

Div 2:

Full text and comments »

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

By Gheal, history, 3 years ago, In English

The original blog was deleted yesterday by one of the other authors. We are very sorry about this.

A — The Third Three Number Problem

Authors: antontrygubO_o, Gheal

Hints
Solution
Code (C++)
Rate Problem
Post Scriptum

B — Almost Ternary Matrix

Author: Gheal

Solution
Code (C++)
Rate Problem

C — The Third Problem

Author: Gheal

Hints
Solution
Code (C++)
Rate Problem

D — Almost Triple Deletions

Authors: Gheal

Hints
Solution
Code (C++)
Rate Problem

E — Three Days Grace

Author: tibinyte2006

Solution
Code (C++)
Rate Problem

Full text and comments »

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

By Gheal, history, 3 years ago, In English

A — The Ultimate Square

Author: Gheal

Hints
Solution
Code (C++)
Rate Problem

B — Balanced Substrings

Author: Gheal

Hints
Solution
Code(C++)
Rate problem

C — Zero Sum Prefixes

Idea: Gheal, Solution: IgorI

Hints
Solution
Code(C++)
Rate problem

D — ConstructOR

Author: Gheal

Hints
Solution
Code(C++)
Rate problem

E — Yet Another Array Counting Problem

Author: Gheal

Hints
Solution
Code(C++)
Rate problem

F — Circular Xor Reversal

Idea: Gheal, Solution: IgorI

Hints
Solution
Code(C++)
Rate problem

If there is anything wrong or unclear in this editorial, feel free to ping me in the comments.

Full text and comments »

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

By Gheal, 4 years ago, In English
Vote your favourite problem

103633A — The Hatchet

Author: tibinyte2006

Rate Problem
Solution
Code (C++)

103633B — Floor Or Xor

Author: tibinyte2006

Rate Problem
Solution
Code (C++)

103633C — Yet Antother Constructive Problem

Author: Gheal

Rate Problem
Hint 1
Hint 2
Solution
Code (C++)
Post Scriptum

103634A — Bamboo Coloring

Rate Problem
Solution
Post Scriptum

Code (C++) (cadmiumky)

Note: this code can be further optimized by removing the $$$lca$$$ function

103634B — Xor Or Floor

Author: tibinyte2006

Rate Problem
Solution
Code (C++)

103634C — Jump

Author: Gheal

Rate Problem
Solution
Code (C++)
Post Scriptum

Full text and comments »

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

By Gheal, history, 4 years ago, In English

I would like to apologize for the checker issue with problem C. I selected std::ncmp out of habit and forgot to change it afterwards. I would also like to apologize for taking so long to fix the issue. The model solution for div1A was also wrong, and I decided to fix that first. Nonetheless, we still hope that you enjoyed our problems in both Div. 1 and Div. 2.

103503A — Make Sum Great Again

Author: Gheal

Hint 1
Hint 2
Hint 3
Hint 4
Solution
Code (Gheal)

103503B — Binary Search Search

Author: Gheal

Hint 1
Hint 2
Solution
Code 1 (Gheal)
Code 2 (tibinyte)

103503C — Plates

Author: Gheal

Hint 1
Hint 2
Solution
Code (Gheal)

Full text and comments »

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

By Gheal, history, 4 years ago, In English

Disclaimer: This contest is not rated

Hello Codeforces!

We would like to invite you to the training round of Infoleague Winter 2021, starting from Saturday, December 4th at 14:00 GMT.

This contest will have 8 problems, which are not sorted in increasing order of difficulty. They should provide an interesting challenge to everyone up to around 2300 rating.

The scoring system is IOI-esque, with partial feedback. All problem statements will be available in English.

Problemsetters: Gheal, tibinyte2006, cadmiumky

Testers: andrei_boaca, IacobTudor, RaresFelix

Upd 1: Six days down, one to go! The editorial will be posted tommorrow, shortly after the end of the round.

Upd 2: The contest is over, congratulations to the winners!

  1. strapple and AlexLorintz with 800 points
  2. sansen with 700 points
  3. MoRanAirConditioner with 620 points
  4. Kira_1234 with 605 points
  5. Egor and xiaolaogou with 565 points

Thank you to everyone who participated! The editorial can be found here.

Full text and comments »

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

By Gheal, history, 4 years ago, In English

Hello Codeforces!

We would like to invite you to the second round of Infoleague Autumn 2021, on Saturday, November 20th at 15:30 GMT.

This contest will have two divisions, Div 1 and Div 2. In both Div 1 and Div 2 you will have to solve 3 problems, which should hopefully be sorted in increasing order of difficulty. Div 2 is recommended for specialists and below, while Div 1 is recommended mainly for experts and low CMs.

Contest links: Div 1, Div 2

  • Contest duration (Div 1): 4:00h
  • Contest duration (Div 2): 3:00h
  • Scoring distribution (Both divisions): 100-100-100

The scoring system is IOI-esque, with partial scoring. All problem statements will be available in both English and Romanian.

Problemsetters: Gheal, tibinyte2006, cadmiumky

Testers: andrei_boaca, IacobTudor, RaresFelix

Upd 1: The Div 2 round is over! Congratulations to the winners!

  1. iulianarsenoiu — AK in 18 minutes
  2. vulpes2 — 300 points
  3. Ausmosian — 205 points
  4. merlin_ — 200 points
  5. alexkrunker — 200 points

Also, congratulations to the first solvers of each problem:

Div 2 Editorial: https://mirror.codeforces.com/blog/entry/97107

Upd 2: The Div 1 round is over! Congratulations to the winners!

  1. iulianarsenoiu — 300 points
  2. Pety — 280 points
  3. AlexLorintz — 210 points
  4. maghrabyJr_ — 200 points
  5. lukameladze1 — 180 points

Also, congratulations to the first solvers of each problem:

Div 1 Editorial: https://mirror.codeforces.com/blog/entry/97108

Big thanks to everyone for participating! We would love to see you again at our next rounds!

Full text and comments »

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