SpyrosAliv's blog

By SpyrosAliv, 6 months ago, In English
Comment

Problem A — Souvlaki VS. Kalamaki

Solution
Implementation
Rate the Problem
Rate the Difficulty

Problem B — Siga ta Kymata

Solution
Implementation
Rate the Problem
Rate the Difficulty

Problem C — Monopati

Solution
Implementation
Rate the Problem
Rate the Difficulty

Problem D1 — Diadrash (Easy Version)

Solution
Implementation
Rate the Problem
Rate the Difficulty

Problem D2 — Diadrash (Hard Version)

Special thanks to Friedrich for figuring out the better solution.

Solution
Implementation
Rate the Problem
Rate the Difficulty

Problem E — Plegma

Solution
Implementation
Rate the Problem
Rate the Difficulty

Full text and comments »

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

By SpyrosAliv, 6 months ago, In English
Καλησπέρα, Codeforces!

I am very excited to invite you to participate in Codeforces Round 1063 (Div. 2), which will take place on Nov/10/2025 18:05 (Moscow time). Please note the unusual starting time (30 minutes after the standard starting time).

You will be given 5 problems and 2 hours to solve them. At least one problem will be interactive, so please make sure to read the guide for interactive problems before the contest. This round will be rated for all participants with rating below 2100. The problems were authored by me, and prepared by Proof_by_QED and me. We are also excited to announce that:

This will be the first rated round to feature a communication problem.

Make sure that you are familiar with the problem format of communication problems. Recently, Testing Round 20 (Unrated, Communication Problems) was held in order to introduce this new type of problems. Please read the blog on communcation problems and familiarize yourself with these problems. Note that it is the first time we are experimenting with communication problems in a rated round, so please keep this in mind if you choose to participate.

Additional Note: In this round, hacks will be disabled on problems A,B,C and we will have pretests=systests. Hacks will be enabled on D,E as usual.

This round would not be possible without the help of the following people:

Score distribution: $$$500 - 1000 - 1250 - (1500 - 1250) - 2750$$$.

Editorial

Winners:

Div.1+2:

Div.2:

Full text and comments »

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

By SpyrosAliv, 12 months ago, In English

Thanks for the participation. I hope you enjoyed the problems, or at the very least learned something new.

Rate Contest Quality
Rate Contest Difficulty
Favorite Problem
Worst Problem

The codes will be posted after the hacking phase is over. Codes have been posted.

Problem A — DR. TC

(Author & Analysis: SpyrosAliv)

Solution
Implementation
Rate the Problem

Problem B — ST. CHROMA

(Author & Analysis: SpyrosAliv)

Solution
Implementation
Rate the Problem

Problem C — CHERRY BOMB

(Author & Analysis: SpyrosAliv)

Solution
Implementation
Rate the Problem

Problem D — IGOR / FLOWER BOY

(Author: cry, Analysis: cowthecow)

Solution
Implementation
Rate the Problem

Problem E — WOLF

(Author: SpyrosAliv, Analysis: cowthecow)

Solution
Implementation
Rate the Problem

Problem F — GOBLIN

(Author & Analysis: SpyrosAliv)

Solution
Implementation (Prefix Sums)
Implementation (DSU)
Rate the Problem

Problem G1 — BAUDELAIRE (Easy Version)

(Author & Analysis: SpyrosAliv)

Solution
Implementation
Rate the Problem

Problem G2 — BAUDELAIRE (Hard Version)

(Author & Analysis: SpyrosAliv)

Solution
Implementation
Rate the Problem

Full text and comments »

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

By SpyrosAliv, 12 months ago, In English

Hello, Codeforces!

cry and I are very very very excited to invite you to participate in Codeforces Round 1020 (Div. 3), which will take place on Apr/24/2025 17:35 (Moscow time). You will be given 7 problems and 2 hours & 15 minutes to solve them. There will be at least one interactive problem, so please make sure to read this guide if you are not familiar with the format. One of the problems will be split into two subtasks.

The round will be hosted by rules of educational rounds (extended ICPC). Thus, all solutions will be judged on preliminary tests during the round, and after the round, there will be a 12-hour phase of open hacks. After the open hack phase, all accepted solutions will be rejudged on successful hacks. Also, note that there is no score distribution but the usual penalty of 10 minutes for each wrong submission, following the rules of educational rounds.

Remind yourself that only the trusted participants of the third division will be included in the official standings table. As it is written by link, this is a compulsory measure for combating unsporting behavior. To qualify as a trusted participant of the third division, you must:

  • take part in at least five rated rounds (and solve at least one problem in each of them)
  • not have a rating of 1900 or higher at any moment in time.

Regardless of whether you are a trusted participant of the third division or not, if your rating is less than 1600, then the round will be rated for you (unless you register unrated).

Also, note the rule restricting the use of AI. If you are caught while breaking this rule, you will be terminated and haunted. So for your own safety, please do adhere to this rule.

This round would really not be possible without the help of the following people:

I hope to see you in the contest, and that you will be an honest and fair participant.

UPD: Editorial

UPD2: Winners!

All participants:

  1. Hamed_Ghaffari

  2. maspy

  3. TKT_YI

  4. BurnedChicken

  5. DevastatingStrike

Trusted & Rated participants:

  1. iren_eustia

  2. tarunnnnn

  3. alyzha

  4. nan1669

  5. CR7MEN7ALI7Y

Full text and comments »

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

By SpyrosAliv, 20 months ago, In English

Problem A — Cyclic Tree

First Solve: arvindf232

Hint
Solution
Implementation 1
Implementation 2 (by Banis)
Bonus
Rate the Problem

Problem B — Tree Game (Idea by rangerscowboys)

First Solve: arvindf232

Hint 1
Hint 2
Hint 3
Solution
Implementation
Bonus
Rate the Problem

Problem C — Disappearing Tree

First Solve: arvindf232

Hint 1
Hint 2
Hint 3
Solution
Implementation
Bonus (?)
Rate the Problem

Problem D — Cow the Nerd Tree

First Solve: arvindf232

Hint 1
Hint 2
Solution
Implementation
Bonus (?)
Rate the Problem

Problem E — Mirror I

First Solve: arvindf232

General Idea
Solution 1
Solution 2
Additional Note
Implementation 1
Implementation 2
Rate the Problem

Problem F — Mirror II

First Solve: Chaeryeong

Solution
Implementation 1
Implementation 2 (by wuhudsm)
Rate the Problem

Problem G — Crown

First Solve: arvindf232

Solution
Implementation 1
Implementation 2 (by wuhudsm)
Bonus
Rate the Problem

Full text and comments »

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