Igor_Parfenov's blog

By Igor_Parfenov, history, 2 weeks ago, translation, In English

2040A - Game of Division

Editorial
Solution C++
Solution Python

2040B - Paint a Strip

Editorial
Solution C++
Solution Python
Notes

2040C - Ordered Permutations

Editorial
Solution C++
Solution Python

2040D - Non Prime Tree

Editorial
Solution 1
Solution 2 (zap4eg)
Notes

2040E - Control of Randomness

Editorial
Solution
Solution (Notes)
Notes

2040F - Number of Cubes

Editorial
Solution Phi
Solution DP

Full text and comments »

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

By Igor_Parfenov, history, 2 weeks ago, In English

Hello!

On Dec/08/2024 17:35 (Moscow time) we will host Codeforces Round 992 (Div. 2).

The problems were written and prepared by Igor_Parfenov.

I would like to thank everyone who made this round possible:

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

You will have 2 hours to solve 6 problems.

Score distribution: 500 — 1000 — 1500 — 2000 — 2250 — 2750.

Good luck!

UPD: Editorial

UPD: Congratulations to the Winners!

Div.2:

  1. daniel6202

  2. younesg

  3. houseof

  4. HUST_USELESS

  5. FatihCihan

Div.1 + Div.2:

  1. jiangly

  2. maspy

  3. Rubikun

  4. BurnedChicken

  5. neal

Full text and comments »

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

By Igor_Parfenov, history, 20 months ago, In English

1823A - A-characteristic

Editorial
Solution C++
Solution Python

1823B - Sort with Step

Editorial
Solution C++
Solution Python

1823C - Strongly Composite

Editorial
Solution C++
Solution Python
Notes

1823D - Unique Palindromes

Editorial
Solution C++
Solution Python
Notes

1823E - Removing Graph

Editorial
Solution C++
Solution Python

1823F - Random Walk

Editorial
Solution C++
Solution Python

Full text and comments »

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

By Igor_Parfenov, history, 20 months ago, In English

Hello!

On Apr/27/2023 17:35 (Moscow time) we will host Codeforces Round 868 (Div. 2).

The problems were written and prepared by Igor_Parfenov.

I would like to thank everyone who made this round possible:

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

You will have 2 hours to solve 6 problems.

Score distribution: 500 — 1000 — 1250 — 2000 — 2000 — 2500.

Good luck!

UPD: Editorial

UPD: Congratulations to the Winners!

Div.2:

  1. Low-Deny-Cup

  2. psz6

  3. BULBULBUL

  4. Epyset

  5. chenguoyi

Div.1 + Div.2:

  1. SSRS_

  2. maspy

  3. Rubikun

  4. heno239

  5. Crystally

Full text and comments »

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

By Igor_Parfenov, history, 2 years ago, In English
Code1

Look at this code. It seems, the expected output is always 1. However, in

  • Codeforces
    • G++20
    • G++17
    • G++14
    • VC++2017
  • in my local Windows G++ 8.1.0
  • in my local Debian G++ 10.2.1

the output is always 0. In Codeforces::Clang++17 & Clang++20 the output is

Clang++
Code2

Now look at this code. Here in all previously mensioned compilers (including Clang++) the output is always 1.

How found

Full text and comments »

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