dapingguo8's blog

By dapingguo8, 5 weeks ago, In English

We apologize for both the late editorial and the statement leaking issues. Unfortunately, as the problem authors, we never had any chances to prevent the leaking. Still, feel free to downvote if you have dissatisfaction due to these.

But what so ever, we hope you can enjoy the problems.

2216A - Course Wishes

Idea by Warriors_Cat

Solution
Code(C++)

2216B - THU Packing Puzzle

Idea by E.Space

Solution
Code(C++)

2215A - Interval Mod

Idea by Ecrade_

Solution
Code(C++)

2215B - RReeppeettiittiioonn

Idea by SpiritualKhorosho

Solution
Code(C++)

2215C - Oriented Journey

Idea by dapingguo8

Solution
Code(C++)

2215D - EXPloration, EXPloitation, and Gain Some EXPerience!

Idea by xiaoziyao

Solution
Code(C++)

2215E - Star Map

Idea by Kratrissa

Solution
Code(C++)

2215F - Research

Idea by E.Space

Solution
Code(C++)

2215G - Maze

Idea By crazy_sea

Solution
Code(C++)

Full text and comments »

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

By dapingguo8, 6 weeks ago, In English

Note the unusual time of the round.

Hello, Codeforces!

Tsinghua University’s Student Association of Algorithmic Competitions (THUSAAC) is pleased to invite you to participate in Codeforces Round 1092 (Unrated, Div. 1, Based on THUPC 2026 — Finals) and Codeforces Round 1092 (Unrated, Div. 2, Based on THUPC 2026 — Finals) on Apr/12/2026 08:35 (Moscow time). This round will be UNRATED for everyone. You will be given 3 hours to solve 7 problems for Division 1 and 6 problems for Division 2.

Please note that this contest contains at least one run-twice (communication) interactive problem. Please read the guides for run-twice problems before the contest if you are unfamiliar with them.

What’s more, it’s the first time that we will provide a local testing tool to help the contestants test their solutions on interactive problems. To get familiar with the testing tool, you may download the sample testing tool for an earlier interactive problem and an earlier run-twice problem. You can download them from the materials of the above problems.

Usage of the testing tools

Our team of amazing problem setters include: Warriors_Cat, E.Space, Ecrade_, SpiritualKhorosho, dapingguo8, xiaoziyao, Kratrissa, crazy_sea, zhouhuanyi, Doqe. Some of the problems prepared were not used in the final contest but we would still like to thank them nonetheless.

We would also like to express our gratitude to the following individuals:

  • KAN for helping to host the round;

  • Error_Yuan for coordination and helping with the problem preparation;

  • Alexdat2000 for translating the problems into Russian;

  • The team of problem setters for crosschecking the problems and also donghanwen, Iam1789, Zesty_Fox, sszcdjr, YuukiS, A_G, nifeshe, Caylex, a_little_cute, simplelife, Serval, wmrqwq for testing the contest and providing us very useful feedback;

  • Tsinghua University’s administration, especially our advisor Wentao Han for helping us in all means possible to ensure the smooth organisation of the whole THUPC event;

  • MikeMirzayanov for the amazing Codeforces and Polygon platform!

THUPC is an annual event hosted by Tsinghua University’s Student Association of Algorithmic Competitions (THUSAAC). It is the largest student-run competitive programming contest in China with the top 100 Competitive Programming teams from all over China coming onsite to vie for the crown of BEST CP Team in China after qualifying from a pool of 1000+ teams.

Moreover, this year is the 10-th anniversary of THUPC. Years of a decade have distilled countless brilliant and sparkling moments, and our gathering today is no less memorable. Our sincere gratitude goes to all staff and volunteers of THUSAAC. None of these glory would have been possible to be realized without your efforts!

By experiencing a series of collisions between intellect and joy, we hope you will enjoy and have fun in the contest. Good luck!

The scoring distribution:

Div. 2: $$$500 -1000-1750-2250-2750-4000$$$

Div. 1: $$$750-1250-1750-2750-3000-4000-5000$$$

UPD: Due to technical reasons, this round will be UNRATED. We are really sorry for any inconvenience caused by this :(

UPD2: Reasons of being unrated: The official contest started 3.5 hours earlier than the codeforces round. The problem statements unexpectedly leaked from the public scoreboard shortly after the official contest begins, and it spread a bit widely before the codeforces round begins, so the round can't be made rated now... We apologize for our mistakes :(

UPD3: Editorial

Full text and comments »

  • Vote: I like it
  • -122
  • Vote: I do not like it

By dapingguo8, history, 5 years ago, In English

What else can I say? Congratulations for having $$$10^8$$$ submissions, codeforces.

Full text and comments »

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

By dapingguo8, history, 6 years ago, In English

Recently I prepared some problems and wrote a contest proposal which was submitted on $$$10^{th} July$$$. However, I haven't written any contests before, so I have some questions. Really appreciated if you can answer them.

$$$1$$$. How long does it take to get feedback from coordinators in average?

Today is $$$18^{th} July$$$. $$$8$$$ days has passed. It said that I will receive feedback in $$$2$$$~$$$14$$$ days, but I'm still worried. Although I believe the queue is not as big as two years ago, I'm afraid that I'll not be avaliable if the waiting time is too long (more than $$$1$$$ month)

$$$2$$$. Will I get notified if someone commented on my proposal?

$$$3$$$. Does Polygon support the $$$64$$$-bit version of C++17?

I didn't find it when I choose the language. One of my problems requires a checker which can compute even the number doesn't fit in $$$64$$$-bit integer, but under $$$128$$$-bit integer.

C++17 64bit supports __int128, which is the perfect one to use. However, if Polygon doesn't support that, I have to lower the constraints or manually implement bigint.

Thanks in advance.

Full text and comments »

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

By dapingguo8, 6 years ago, In English

If you submit in C++ and your code is getting WA or RE, you won't receive the verdict immediately, and your code will run in diagnostics mode very slowly.

Usually I don't want to waste time in that run, so in the past I chose 64-bit C++17 in order to get rid of it.

But for now, 64-bit C++17 will also run in diagnostics mode if we gets WA/RE. I don't mean that's bad, but is there any way to disable diagnostics run (only for myself)? If not, then can there be a function like this?

I think there can also be a way, which is if we get WA/RE, display the verdict immediately, and then silently run the diagnostics. MikeMirzayanov please consider about it, really thanks. OK, now diagnostic works exactly like this. Really thanks for your hardwork, codeforces

Full text and comments »

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

By dapingguo8, history, 6 years ago, In English

There are plenty of submissions with "In queue" verdict, while no submission is running on tests.

Will it affect the contest today?Hope it won't affect :(

UPD:Judging system is back now.

Full text and comments »

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

By dapingguo8, history, 6 years ago, In English
  1. "During normal rounds, hacks only related to me(being a hacker or as a defender) will be shown." Is it right?

  2. Why some people can hack other's code even not in the hacking time(During the contest in normal rounds, During the hacking-phase in edu/div.3) ? I'm curious about this. Is it intended or a glitch? Although, hacked solutions will keep AC verdict

I'm not experienced in hacking, so could anyone answer these questions?

Full text and comments »

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