wuhudsm's blog

By wuhudsm, history, 5 months ago, In English

A

Idea:wakanda-forever

solution
code(C++)
Rate the Problem

B

Idea:frostcat

solution
code(C++)
Rate the Problem

C

Idea:frostcat, wuhudsm

solution
code
Rate the Problem

D

Idea:wakanda-forever

solution
code
Rate the Problem

E

Idea:sanju77

solution
code
Rate the Problem

F

Idea:wakanda-forever

solution
code
Rate the Problem

G

Idea:simplelife

solution
code
Rate the Problem

H

Idea:Davy_D._Kaosar,wuhudsm

solution
code
Rate the Problem

Full text and comments »

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

By wuhudsm, history, 6 months ago, In English

Hello, Codeforces!

We are happy to invite you to TheForces Round #45 (DIV3-Forces2), which will take place on Nov/09/2025 17:35 (Moscow time)

What is TheForces Round?

You will have 135 minutes to solve 8 problems.

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

In other exciting news:

  • We've just launched our official Telegram channel! We invite you to join us there as well, so we can expand our community and conquer Telegram alongside Codeforces and Discord! 💪

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD $$$1$$$: Editorial

UPD $$$2$$$: Congrats for the winners!

  1. __baozii__

  2. serialcomder

  3. ajinkya1p3

And a lucky user

_omran_

Full text and comments »

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

By wuhudsm, history, 8 months ago, In English

This is a new editorial attempt. Only Two Principles.

Principle 1: Prior Knowledge is Important

  • List the required prior knowledge to understand the problem.

  • All new definitions are built upon known information.

Principle 2: Less Text, Even None

Good Examples

1586F (2500)

Prior Knowledge

(Somehow CF doesn't support GIF images, so I can only provide the website address. I hope this can be fixed.)

1
2
3
4
5

1896F (2600)

Prior Knowledge
1
2
3
4
5
6
7

2143E (2400)

Prior Knowledge
Vedio Editorial

Full text and comments »

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

By wuhudsm, history, 8 months ago, In English

We invite you to participate in CodeChef’s Starters 201, this Wednesday, 27th August, rated for 6 star (i.e. for users with rating < 2500).

Time: 8:00 PM — 10:00 PM IST

Joining us on the problem setting panel are:

Written editorials will be available for all on discuss.codechef.com. Pro users can find the editorials directly on the problem pages after the contest. The video editorials of the problems will be available only to Pro users.

Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here. Hope to see you participating.

Good Luck!

Full text and comments »

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

By wuhudsm, history, 8 months ago, In English

A

Idea:Muhammad-Ahmad

solution
code(C++)
Rate the Problem

B

Idea:Davy_D._Kaosar

solution
code(C++)
Rate the Problem

C

Idea:am_I_Newbie

solution
code
Rate the Problem

D

Idea:wuhudsm

solution
code
Rate the Problem

E

Idea:wuhudsm

solution
code
Rate the Problem

F

Idea:wuhudsm

solution
code
Rate the Problem

G

Idea:wuhudsm

solution
code
Rate the Problem

H

Idea:wuhudsm

solution
code
Rate the Problem

Full text and comments »

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

By wuhudsm, history, 8 months ago, In English

Hello, Codeforces!

We are happy to invite you to TheForces Round #44 (DIV3.5-Forces), which will take place on Aug/22/2025 17:35 (Moscow time)

What is TheForces Round?

You will have 135 minutes to solve 8 problems.

One of the problems may be interactive. So, please refer to the guide on interactive problems if you are unfamiliar with them.

Note: Some problems have occurred in OCPC Fall 2024 (https://mirror.codeforces.com/blog/entry/130557) and the testing phase of Codeforces Round #1040. If you have participated in it, you should not participate in this contest.

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

Ming_Xu, xksark ,wakanda-forever, simplelife, catologistics, rnishu12, Sultan404, sanju77, grecil, Messi10TheGOAT, frostcat

  • Also we want to thank You for participating in our round.

In other exciting news:

  • We've just launched our official Telegram channel! We invite you to join us there as well, so we can expand our community and conquer Telegram alongside Codeforces and Discord! 💪

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD $$$1$$$: Editorial

UPD $$$2$$$: Congrats for the winners!

  1. potato167

  2. turkhuu622

  3. -firefly-

And a lucky user

nikhileswar1026

(pls DM wuhudsm for your prizes :) )

Full text and comments »

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

By wuhudsm, history, 9 months ago, In English

Thank you for participation and we hope you enjoy this round :)

How did you find the contest?
Which problem is your most favourite?
Which problem you hate the most?

D2A Submission is All You Need

Fun
Hint 1
Hint 2
Tutorial
solution
Rate the Problem

D2B Pathless

Hint1
Hint2
Hint3
Hint4
Tutorial
solution
Rate the Problem

D1A Double Perspective

Hint1
Hint2
Tutorial
solution
Rate the Problem

D1B Stay or Mirror

Hint1
Hint2
Tutorial
solution
Rate the Problem

D1C1 Interactive RBS (Easy Version), D1C2 Interactive RBS (Medium Version) and D1C3 Interactive RBS (Hard Version)

Hint1
Hint2
Hint3
Hint4
Hint5
Hint6
Tutorial (easy version)
Tutorial (medium version)
Tutorial (hard version)
solution (easy version)
solution (medium version)
solution (hard version)
Rate the Problem

D1D Permutation Blackhole

Hint1
Hint2
Hint3
Tutorial
solution
Rate the Problem

D1E Induced Graph Queries

Fun
Hint1
Hint2
Hint3
Hint4
Hint5
Tutorial
solution
Rate the Problem

D1F1 Top-K Tracker (Easy Version) and D1F2 Top-K Tracker (Hard Version)

Fun
Hint1
Hint2
Hint3
Hint4
Hint5
Hint6
Hint7
Hint8
Hint9
Hint10
Tutorial (easy version)
Tutorial (hard version)
solution (easy version)
solution (hard version)
Rate the Problem

Full text and comments »

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

By wuhudsm, history, 9 months ago, In English

Hello, Codeforces! We're glad to invite you to take part in Codeforces Round 1040 (Div. 1) and Codeforces Round 1040 (Div. 2), which will start on Jul/31/2025 17:35 (Moscow time).

You will be given 6 problems and 3 hours to solve them in both divisions. Some problems will be divided into subtasks.

The problems were authored and prepared by me.

Some problems may be interactive. So please refer to the guide on interactive problems if you are unfamiliar with them.

We would like to thank

Good luck and have fun!

Score distribution:

  • Div.1: $$$500$$$ — $$$1000$$$ — ($$$750+750+750$$$) — $$$2000$$$ — $$$3000$$$ — ($$$2500+2500$$$)

  • Div.2: $$$500$$$ — $$$1000$$$ — $$$1250$$$ — $$$1750$$$ — ($$$1500+1500+1500$$$) — $$$4000$$$**

UPD 1: Editorial

UPD 2:

Congratulations to the winners!

Div.1:

Kevin114514

jiangly

ecnerwala

ksun48

EnofTaiPeople

Div.2:

alaevS

MoriorInvictus

bradley.louie1

kaiboy

Ghammaz-Hassan

Full text and comments »

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

By wuhudsm, history, 9 months ago, In English

Reminder: We welcome you to participate in the official DIV1/DIV2 round scheduled on the 31st!

A

Idea:frostcat

solution
code(C++)
Rate the Problem

B

Idea:frostcat

solution
code(C++)
Rate the Problem

C1 and C2

Idea:Snowdust

solution(easy version)
solution(hard version)
code(easy version)
code(hard version)
Rate the Problem

D

Idea:Davy_D._Kaosar

solution
code
Rate the Problem

E

Idea:ProofByContradiction_

solution
code
Rate the Problem

F

Idea:wuhudsm

solution1
solution2 by Ming_Xu
code(solution 1)
code(solution 2)
Rate the Problem

Full text and comments »

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

By wuhudsm, history, 9 months ago, In English

Hello, Codeforces!

We are happy to invite you to TheForces Round #43 (DIV2-Forces), which will take place on Jul/25/2025 17:35 (Moscow time)

At the same time, we welcome you to participate in the official DIV1/DIV2 round scheduled on the 31st!

What is TheForces Round?

You will have 135 minutes to solve 6 problems. One of the problems is divided into two subtasks.

Note: Some problems have occurred in OCPC Fall 2024 (https://mirror.codeforces.com/blog/entry/130557 ). If you have participated in it, you should not participate in this contest.

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

In other exciting news:

  • We've just launched our official Telegram channel! We invite you to join us there as well, so we can expand our community and conquer Telegram alongside Codeforces and Discord! 💪

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD:

Editorial

Congrats for the winners!

1 maspy

2 potato167

3 Rubikun

And $$$2$$$ lucky participants:

the_seal

GloryToNorka

Full text and comments »

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

By wuhudsm, history, 12 months ago, In English

Hello, Codeforces.

Today, as the main manager of a contest, I have decided to release the code for TheForce Round # 42 Top 10.

The reason for this decision is that during the middle of the contest, we noticed unusual standings:

 2025-04-18 000415.png

As a convention of codeforces, the code of all participants after the contest will be made public. I have decided to do the same thing here, and I believe that if you are a normal and honest participant, it will not infringe upon any of your rights. Also, we are checking the code of the participants and making cautious judgments.

The allocation of prizes and the calculation of TheForce Rating will be delayed. Sorry for any inconvenience caused.

We sincerely hope to maintain a fair and honest competitive environment for all participants. Integrity is the cornerstone of programming contests, and we believe that upholding these values benefits everyone in the community.

 Best regards,

TheForce Round #42 Contest Team

ayush_295
arnabmanna
nika-skybytska
vietnamchess69
9ovem
raneatharva
K-423
turkhuu622
__baozii__
pandaforever
Aging1986
serialcomder

Full text and comments »

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

By wuhudsm, history, 12 months ago, In English

A

Idea:wuhudsm

solution
code(C++)
Rate the Problem

B

Idea:wuhudsm

solution
code(C++)
Rate the Problem

C

Idea:Davy_D._Kaosar

solution
code(C++)
Rate the Problem

D

Idea:pramod_17

solution
code
Rate the Problem

E

Idea:pramod_17

solution
code
Rate the Problem

F

Idea:wuhudsm

solution
code(C++)
Rate the Problem

Full text and comments »

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

By wuhudsm, history, 12 months ago, In English

Hello, Codeforces!

We are happy to invite you to TheForces Round #42 (Ultimate-Answer-Forces), which will take place on Apr/17/2025 17:35 (Moscow time)

The source of the name

What is TheForces Round?

You will have 120 minutes to solve 6 problems.

Note: Some problems have occurred in OCPC Fall 2024. If you have participated in it, you should not participate in this contest.

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

In other exciting news:

  • We've just launched our official Telegram channel! We invite you to join us there as well, so we can expand our community and conquer Telegram alongside Codeforces and Discord! 💪

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD 1: Editorial

UPD 2: The allocation of prizes and the calculation of TheForce Rating will be delayed. For more details read this

Full text and comments »

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

By wuhudsm, history, 13 months ago, In English

A

Idea:imranakki, wuhudsm

solution
code(C++)
Rate the Problem

B

Idea:Davy_D._Kaosar

solution
code(C++)
Rate the Problem

C

Idea:ProofByContradiction_

solution
code(C++)
Rate the Problem

D

Idea:wuhudsm

solution
code
Rate the Problem

E1+E2

Idea:xksark (easy version), wuhudsm (hard version)

solution (easy version)
solution (hard version)
code(easy version)
code(hard version)
Rate the Problem

F

Idea:wuhudsm

solution
code(C++)
Rate the Problem

Full text and comments »

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

By wuhudsm, history, 13 months ago, In English

Hello, Codeforces!

示例图片

We are happy to invite you to TheForces Round #41 (Magical-Forces), which will take place on Mar/30/2025 18:05 (Moscow time)

UPD: Due to a conflict with the AtCoder round, the start time has been postponed by 30 minutes.

What is TheForces Round?

You will have 135 minutes to solve 6 problems. One of the problems will be divided into subtasks.

One of the problems may be interactive. So, please refer to the guide on interactive problems if you are unfamiliar with them.

Note: Some problems have occurred in OCPC Fall 2024. If you have participated in it, you should not participate in this contest.

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

In other exciting news:

  • We've just launched our official Telegram channel! We invite you to join us there as well, so we can expand our community and conquer Telegram alongside Codeforces and Discord! 💪

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD:

Editorial

Congrats for the winners!

  1. MagnusCarlsen321

  2. Horka

  3. IzhitskiyTimofey

And $$$4$$$ lucky participants:

Manas_DixiT

gupta_vatsal

cry

roshan_j_

(Pls dm wuhudsm for your prize : ) )

Full text and comments »

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

By wuhudsm, history, 14 months ago, In English

Hello, Codeforces!

We are happy to invite you to TheForces Round #40 (Maths-Forces), which will take place on Mar/07/2025 17:35 (Moscow time)

What is TheForces Round?

You will have 135 minutes to solve 7 problems.

Note: Some problems have occurred in MTB Presents AUST Inter University Programming Contest 2025, OCPC Fall 2024, and testing of Codeforces Round 960. If you have participated in any of them, you should not participate in this contest.

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

In other exciting news:

  • We've just launched our official Telegram channel! We invite you to join us there as well, so we can expand our community and conquer Telegram alongside Codeforces and Discord! 💪

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD:

Editorial

Congrats for the winners!

1 Egor

2 Aging1986

3 cuiaoxiang

And $$$3$$$ lucky participants:

yashkan_xiao

ComeAlone

vanta5n

(Pls dm wuhudsm for your prize : ) )

Full text and comments »

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

By wuhudsm, history, 14 months ago, In English

Please note that the contest's rated range and duration has both increased. Further, the round is being held in ICPC mode with 10 minute penalty.

We invite you to participate in CodeChef’s Starters 174, this Wednesday, 19th February, rated for users with rating < 2700.

Time: 8:00 PM — 10:15 PM IST

Note the round is being held in ICPC mode with 10 minute penalty.

Joining us on the problem setting panel are:

Written editorials will be available for all on discuss.codechef.com. Pro users can find the editorials directly on the problem pages after the contest. The video editorials of the problems will be available only to Pro users.

Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here. Hope to see you participating.

Good Luck!

UPD: congrats for the winners!

  1. Nachia

  2. yydtq

  3. potato167

  4. snuke

  5. Kude

Full text and comments »

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

By wuhudsm, history, 15 months ago, In English

A

Idea:FP7317

solution
code(C++)
Rate the Problem

B

Idea:Ramen

solution
code(C++)
Rate the Problem

C1+C2

Idea:pramod_17

solution(easy version)
solution(hard version)
code(C++)
code(C++)(hard version)
Rate the Problem

D1+D2

D1 Idea:sanju77

D2 Idea:wuhudsm

solution(easy version)
solution(hard version)
code(easy version)
code by sanju77 (hard version)
code by pramod_17 (hard version)
Rate the Problem

E

Idea:wuhudsm

solution
code(solution 1)
code(solution2)
Rate the Problem

F

Idea:pramod_17

solution
code(C++)
Rate the Problem

Full text and comments »

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

By wuhudsm, history, 15 months ago, In English

Due to my poor understanding ability, I can't totally understand official editorials of some problems, even after got AC. So I plan to rewrite some of the editorials.

Some principles:

  1. Divide and conquer. Divide a large, hard problem into several smaller, easier problems.

  2. For ease of understanding, use visual expressions as much as possible.

  3. The shorter the better.

If you have any other problems you'd like me to rewrite the editorial for, feel free to let me know in the comments. Also, I believe writing an editorial with your own understanding is a great way to make progress.

Let's go.

1.CF #749 F

Rating: $$$2500$$$

Attempt and Insight
How to prove it?

2.Codechef Simultaneous Robots

Rating:???

Some easy observation
A classical trick
Patch for official editorial (the most interesting part)
Can it be extended to any k?
Another Approach

3.CF #965 E

Rating: $$$2200$$$(easy)/$$$2500$$$(hard)

Solve easy version first
Solve hard version
When we go up, won't we visit too many edges?

4.Hello 2025 D

Rating: $$$2000$$$

Observation1
Trick
Observation2
Classical technique

5.CF #999 E

Rating: ???

Observation1
Observation2
How to prove?

Full text and comments »

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

By wuhudsm, 15 months ago, In English

Hello, Codeforces!

We are happy to invite you to TheForces Round #39 (1000-Forces), which will take place on Jan/23/2025 17:35 (Moscow time)

What is TheForces Round?

You will have 120 minutes to solve 6 problems. Two problems will be divided into subtasks.

One of the problems may be interactive. So, please refer to the guide on interactive problems if you are unfamiliar with them.

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

In other exciting news:

  • We've just launched our official Telegram channel! We invite you to join us there as well, so we can expand our community and conquer Telegram alongside Codeforces and Discord! 💪

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD:

Editorial

Congrats for the winners!

1 potato167

2 Tobo

3 fractum_locum

And $$$3$$$ lucky participants:

ideservebetter

mamut-rahal

AttractorsTheory

(Pls dm wuhudsm for your prize : ) )

Full text and comments »

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

By wuhudsm, history, 16 months ago, In English

Hello, Codeforces!

We are happy to invite you to TheForces Round #38 (Tree-Forces), which will take place on Dec/17/2024 17:35 (Moscow time)

What is TheForces Round?

You will have 135 minutes to solve 7 problems.

Spoiler

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD:

Editorial

Congrats for the winners!

1 arvindf232

2 pandaforever

3 Aging1986

And $$$3$$$ lucky participants:

Ferrriccc

ananyakulashreshtha

Muhammad-Talha

(Pls dm wuhudsm for your prize : ) )

Full text and comments »

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

By wuhudsm, history, 18 months ago, In English

A: Niimmm

Idea:Think_Only_Once

First solve:Alphx9120

tags
solution
code(C++)
Rate the problem

B: K Palindrome

Idea:Think_Only_Once

First solve:Egor

tags
solution
code(C++)
Rate the problem

C: Pair of GCD

Idea:Think_Only_Once

First solve:Egor

tags
solution
code(C++)
bonus
Rate the problem

D: Perfect Prefix

Idea:Think_Only_Once

First solve:Egor

tags
solution
code(C++)
bonus
Rate the problem

E: Any Tree ?

Idea:Think_Only_Once

First solve:Alphx9120

tags
solution
code(C++)
Rate the problem

F: Permutation via Tree

Idea:Think_Only_Once

First solve:TAhmed33

tags
solution
code(C++)
bonus
Rate the problem

G: If Sort is Life

Idea:Think_Only_Once

First solve:

tags
solution
code(C++)
Rate the problem

Full text and comments »

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

By wuhudsm, history, 18 months ago, In English

Hello, Codeforces!

图片描述

We are happy to invite you to TheForces Round #37 (Brute-Forces1), which will take place on Nov/07/2024 17:35 (Moscow time)

What is TheForces Round?

You will have 135 minutes to solve 7 problems.

Spoiler

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD:

Congrats for the winners!

1 siganai

2 pandaforever

3 Egor

And $$$2$$$ lucky participants:

funkypapaya5

Xanlar

(Pls dm wuhudsm for your prize : ) )

Full text and comments »

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

By wuhudsm, history, 18 months ago, In English

A

Idea:MathModel

Hints
Analysis
code(Python)

B

Idea:MathModel

solution
code

C

Idea:imranakki

solution
code(C++)

D

Idea:MathModel

short solution
Very Long Analysis
code

E

Idea:wuhudsm

The intended solution is $$$O(n)$$$.

solution
code(C++)

F

Idea:wuhudsm

solution
code

G

Idea:Timosh

solution
code

Full text and comments »

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

By wuhudsm, history, 18 months ago, In English

Hello, Codeforces!

图片描述

We are happy to invite you to TheForces Round #36 (Starters-Forces), which will take place on Oct/25/2024 17:35 (Moscow time)

What is TheForces Round?

You will have 120 minutes to solve 6 problems. One of the problems is divided into two subtasks.

The round is TheForces rated! After the round you can find your rating changes here.

Prizes: The participant in the $$$i$$$th place will receive $$$2^{3-i}$$$ dollars $$$(1 \leq i \leq 3)$$$ as a prize. In addition, we will randomly select $$$\lfloor \frac{p}{30} \rfloor$$$ lucky participants and give each of them $$$1$$$ dollar as a prize, where $$$p$$$ is the number of participants. Please actively participate :)

For more details about TheForces prize, read the above spoiler and join TheForces!

Discord Server ($$$2500+$$$ members)

TheForces website

Contests' archive

UPD:

Congrats for the winners!

1 arvindf232

2 Taranenko

3 p0tato

And $$$3$$$ lucky participants:

FetFot

MahmoudBassem

likhaa

(Pls dm wuhudsm for your prize : ) )

Full text and comments »

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