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

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

You could tell people didn't seem to like the match very much. I'm sorry I screwed up again ¯\_(ツ)_/¯

If you're interested, I'd like to share some thoughts I have about this contest.

sad story

2116A - Gellyfish and Tricolor Pansy

Idea: Gellyfish Solution: Gellyfish Prepared by: Gellyfish

Hint 1
Solution
Code

2116B - Gellyfish and Baby's Breath

Idea: Gellyfish Solution: Gellyfish Prepared by: Gellyfish

Hint 1
Hint 2
Solution
Code

2115A - Gellyfish and Flaming Peony

Idea: Gellyfish Solution: Gellyfish Prepared by: Gellyfish

Hint 1
Hint 2
Solution
Bonus
Code

2115B - Gellyfish and Camellia Japonica

Idea: Gellyfish Solution: Gellyfish Prepared by: Gellyfish

Hint 1
Hint 2
Solution
Code

2115C - Gellyfish and Eternal Violet

Idea: Gellyfish Solution: Gellyfish Prepared by: Gellyfish

Hint 1
Hint 2
Solution
Code

2115D - Gellyfish and Forget-Me-Not

Idea: MagicalFlower Solution: MagicalFlower Prepared by: MagicalFlower

Hint 1
Hint 2
Solution
Code

2115E - Gellyfish and Mayflower

Idea: Gellyfish Solution: Gellyfish Prepared by: Gellyfish

Hint 1
Hint 2
Solution
Code

2115F1 - Gellyfish and Lycoris Radiata (Easy Version)

Idea: Gellyfish User Solution: JoesSR, zhaohaikun Prepared by: MagicalFlower

Solution
Code (by zhaohaikun)

2115F2 - Gellyfish and Lycoris Radiata (Hard Version)

Idea: Gellyfish Full Solution: errorgorn Prepared by: MagicalFlower

Solution
Code

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

Разбор задач Codeforces Round 1028 (Div. 1)
Разбор задач Codeforces Round 1028 (Div. 2)
  • Проголосовать: нравится
  • +206
  • Проголосовать: не нравится

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

Hello, Codeforces!

I'm pleased to invite you to Codeforces Round 1028 (Div. 1) and Codeforces Round 1028 (Div. 2). It starts on May/31/2025 17:35 (Moscow time). This means that Children's Day will come during this round. I'm sure everyone will be impressed with Children's Day, even if they're no longer children.

I remember when I was a kid, I always looked forward to Children's Day. On Children's Day, there were always candies and fun activities at school. But as I grew up, this festive atmosphere was diluted by the trivialities of life. But luckily, we had Codeforces. Spending the holidays with interesting problems doesn't actually have to be more boring than candies and activities ¯\_(ツ)_/¯

This will be the second round I've hosted on Codeforces. To make it better, this time I've called on my friend MagicalFlower to help me organize this round. Also, errorgorn has helped us very much, we are fully indebted to this well known 🐸 on Codeforces!

For both divisions, you will have 2 hours to solve 6 problems. I hope you will enjoy these problems.

I would like to thank:

Especially, I'd like to thank JoesSR, zhaohaikun and ToxicPie9 for helping us prepare this round, which might not be able to run as smoothly as now without them.

Finally, I would like to give my heartfelt thanks and praise to errorgorn.

Both of the rounds I hosted would not have been possible without the support and efforts of errorgorn. Although he often rejected my problems 💀 and stood me up a lot 😡, I could sense his love for the problems and his seriousness about the competition in the time we spent together preparing for these rounds.

errorgorn is an interesting guy, you can often see him sending funny emoji like 🤯 in the discord, and he would also sometimes share me with some of the local culture of Singapore. I am so lucky to have had this fun time with him.

Some time ago, errorgorn happened to tell me that he might not have time to continue as Coordinator, which I deeply regretted. Likewise, I'm starting my college career, and this will probably be the last round I host at Codeforces as well.

Hopefully this round will be a perfect end to my experience hosting rounds on Codeforces. It's really quite an unforgettable experience, and I'm also looking forward to the next collaboration with errorgorn.

The main character of the problems will be Gellyfish🍏, and her friend Flower🌸.

Score distribution:

  • Div.1: $$$500-1250-1750-2250-3000-(2500-3500)$$$
  • Div.2: $$$500-750-1250-2000-2500-3000$$$

Good Luck & Have Fun! 🔥🔥🔥

UPD1: Congratulations to the winners!

first solves in Div.1
first solves in Div.2

UPD2: Editorial is out.

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

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

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

First of all, I'm sorry for the unreasonable difficulty. The problems are much harder than usual, so we choose 3 hours. But it seems that it didn't work :(

About the problems:

  • 1874C - Jellyfish and EVA : It seems that the out-degree of the vertex is not maximized, PersistentLife prepared it for me, but I forgot to check the data, I'm sorry for the unfairness caused to the round.

  • 1874D - Jellyfish and Miku : There are some hacks appearing in this problem. Some adjustments in the approximate solution past the problem, but there's really nothing I can do about it. Hack can only make the adjustments you need to make larger, but if you have a good approximate solution and adjust up to about $$$[-50, +50]$$$. You can pass all the test cases satisfying $$$1 \leq n \leq m \leq 3000$$$. Also, different approximate solutions have different hacks for them, we really have no way to hack all of them. But luckily, no matter what solution you use, you must know $$$ans = n + 2 \times \sum_{i=1}^n\sum_{j=1}^{i-1} \frac{a_j}{a_i}$$$, which is the most important of the problem, I support that there are more interesting and open solutions in the other half of the problem.

  • 1874E - Jellyfish and Hack : Sorry to all the participator whose constants were too large and caused TLE. We have tried that the most normal Lagrange Interpolation can get AC in this problem. $$$n=200$$$ is because $$$O(n^6)$$$ can easily pass $$$n=120$$$. And even some $$$O(n^4 \log n)$$$ solutions got AC in this problem under $$$n=200$$$. This is an awkward problem, and it is hard to find a absolutely good time limit and $$$n$$$. Maybe I should make $$$n=50$$$ and put it on Div.1 B, then swap the current Div.1 B and Div.1 C, the contest will be better for most people.

Overall, I think these aren't trashy problems, but I combine them incorrectly. My original intention was just to make the code for the problems easier. But this seems to have led that many people need a long time to give out the solution for the problems, many people are torn between multiple problems. I'll try to pay attention in the next round and keep the difficulty gap of adjacent problems in an appropriate range.

Moreover, There is a $$$O(n)$$$ solution for 1875D - Jellyfish and Mex, a $$$O(m^2)$$$ solution and a $$$O(nm \log n)$$$ solution for 1874D - Jellyfish and Miku, if you're interested, try to use Convex Hull Optimisation or "just use $$$O(\sqrt n)$$$ useful values" to solve 1875D - Jellyfish and Mex and decision monotonicity to solve 1874D - Jellyfish and Miku, It's not much harder than the solution in editorial.

Finally, here's a hard version of 1875D - Jellyfish and Mex, If you're interested you can try to solve this problem:

Statement
Tutorial

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

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

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

1875A - Jellyfish and Undertale

Tutorial
Code

1874A - Jellyfish and Game

Tutorial
Code

1875C - Jellyfish and Green Apple

Tutorial
Code

1875D - Jellyfish and Mex

Tutorial
Code

1874B - Jellyfish and Math

Tutorial
Code

1874C - Jellyfish and EVA

Tutorial
Code

1874D - Jellyfish and Miku

Tutorial
Code

1874E - Jellyfish and Hack

Tutorial
Code

1874F - Jellyfish and OEIS

Tutorial
Code

1874G - Jellyfish and Inscryption

Tutorial
Code

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

Разбор задач Codeforces Round 901 (Div. 1)
Разбор задач Codeforces Round 901 (Div. 2)
  • Проголосовать: нравится
  • +220
  • Проголосовать: не нравится

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

Hello, Codeforces!

I'm pleased to invite you to Codeforces Round 901 (Div. 1) and Codeforces Round 901 (Div. 2). It starts on Sep/30/2023 17:35 (Moscow time). It also means, the National Day of China arrives during the round. Wish you a nice vacation! 🎉🎉🎉

For both divisions, you will have 3 hours to solve 7 problems.

I would like to thank:

Especially, I would like to thank errorgorn for his great contribution to the round, njwrz for providing user solutions for all the problems, Kevin114514 for making the announcement and tutorial more readable.

Finally and most importantly, I would like to thank PersistentLife for helping me with everything patiently all the time. This round can't happen without him.

The main character of the problems will be Jellyfish, a sweet little girl. 🍏🍏🍏

Score distribution:

  • Div.1: $$$500$$$ − $$$1250$$$ − $$$1500$$$ − $$$2250$$$ − $$$3000$$$ − $$$4000$$$ − $$$5000$$$

  • Div.2: $$$500$$$ − $$$1000$$$ − $$$1000$$$ − $$$1250$$$ − $$$2000$$$ − $$$2250$$$ − $$$3000$$$

Good Luck & Have Fun! 🔥🔥🔥

UPD1: Editorial is out.

UPD2: Congratulations to the winners!

first solves in Div.1
first solves in Div.2

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

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