Igor_Parfenov's blog

By Igor_Parfenov, history, 12 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, 12 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, 19 months 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