Блог пользователя StarSilk

Автор StarSilk, история, 4 месяца назад, По-английски

My code of problem H that passed the pretest got TLE on test 1. Is there something wrong with the judge? Why it can pass the sample within the contest but failed in system test. There is no randomization in my code.

https://mirror.codeforces.com/contest/2178/submission/355404092

Полный текст и комментарии »

  • Проголосовать: нравится
  • +102
  • Проголосовать: не нравится

Автор StarSilk, история, 13 месяцев назад, По-английски

It can be inferred that 2089E has a constraint that guarantees the sum of $$$n$$$ does not exceed $$$80$$$.

https://mirror.codeforces.com/contest/2089/hacks/1121475

Validator 'vadilator2.exe' returns exit code 3 [FAIL The sum of n exceeds 80. (test case 10)].

But the constraint is missing in the problem statement.

upd:the constraint has been added.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +143
  • Проголосовать: не нравится

Автор StarSilk, история, 15 месяцев назад, По-английски

2062A - String

Idea: StarSilk. Solution: StarSilk. Preparation: SSerxhs, StarSilk.

Rate this problem
Solution
Code (C++)
Code (Python)

2062B - Clockwork

Idea: StarSilk. Solution: StarSilk. Preparation: SSerxhs, StarSilk.

Rate this problem
Solution
Code (C++)
Code (Python)

2062C - Cirno and Operations

Idea: Yakumo_Ran. Solution: Yakumo_Ran. Preparation: Yakumo_Ran, SSerxhs, mejiamejia.

Rate this problem
Solution
Code (C++)
Code (Python)

2062D - Balanced Tree

Idea: StarSilk, SSerxhs. Solution: StarSilk, SSerxhs. Preparation: SSerxhs.

Rate this problem
Solution
Code (C++)
Code (Python)

2062E1 - The Game (Easy Version)

Idea: Yakumo_Ran. Solution: Yakumo_Ran. Preparation: Yakumo_Ran,mejiamejia,SSerxhs.

Rate this problem
Solution
Code (C++)
Code (Python)

2062E2 - The Game (Hard Version)

Idea: SSerxhs. Solution: StarSilk,SSerxhs,PaperCloud,fallleaves01. Preparation: SSerxhs,mejiamejia.

Rate this problem
Solution
Code (C++)

2062F - Traveling Salescat

Idea: StarSilk. Solution: StarSilk. Preparation: SSerxhs, StarSilk.

Rate this problem
Solution
Code (C++)
Code (Python)

2062G - Permutation Factory

Idea: StarSilk. Solution: StarSilk. Preparation: StarSilk, SSerxhs.

Rate this problem
Solution
Code (C++)

2062H - Galaxy Generator

Idea: StarSilk. Solution: StarSilk. Preparation: StarSilk.

Rate this problem
Solution
Code (C++)

Полный текст и комментарии »

  • Проголосовать: нравится
  • +93
  • Проголосовать: не нравится

Автор StarSilk, история, 15 месяцев назад, По-английски

Hi Codeforces!

As the Chinese New Year approaches, we are glad to invite you to our Codeforces Round Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) which will be held on Jan/26/2025 17:35 (Moscow time). You will be presented with $$$8$$$ problems, one of which is divided into two subtasks, and $$$2.5$$$ hours to solve them. This round will be rated for all participants.

This round is the first Div. 1 + Div. 2 round on Codeforces with a four-digit round number, and it is also my first round. We hope you will enjoy this round.

Great thanks to:

Good luck & Have fun!

upd1: The score distribution is as follows: $$$500 - 1000 - 1000 - 2000 - (1500 + 2500) - 3500 - 4000 - 4500$$$

A few words from our sponsor:

Hello, Codeforces!

We are Ethflow, a proprietary trading fund specializing in cryptocurrency trading, and we’re glad to host our first Codeforces round!

Participants will have a chance to win T-shirts:

  • The top 50 ranked competitors.
  • 50 random participants who solve at least 3 problems and rank below 50th place.

Our team includes Codeforces grandmasters, IOI/IMO medalists, and ICPC Finals competitors. At Ethflow, we value people and create an environment where you can focus on challenges you enjoy, exploring everything from infrastructure to analytics without toxic practices. To join our team, please fill out the form.

Good luck to all participants!

upd2: Editorial

Congratulations to the winners!

  1. zhoukangyang
  2. ksun48
  3. tourist
  4. squareOf105
  5. potato167

Полный текст и комментарии »

  • Проголосовать: нравится
  • +220
  • Проголосовать: не нравится

Автор StarSilk, история, 3 года назад, По-английски

The interactor of problem 1815B can be made TLE.

Select a case that n>800,add O(n) random x between n/2 and 3n/2, and query n random pairs of nodes.As there are O(n^2) edges in the graph, it takes O(n^2) time to bfs and O(n^3) time for the interactor to answer all queries.

Submission:https://mirror.codeforces.com/contest/1815/submission/201700734

Полный текст и комментарии »

  • Проголосовать: нравится
  • +127
  • Проголосовать: не нравится