We will hold Sky Inc, Programming Contest 2025 (AtCoder Beginner Contest 434).
- Contest URL: https://atcoder.jp/contests/abc434
- Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20251129T2100&p1=248
- Duration: 100 minutes
- Writer: Nyaan, physics0523
- Tester: sheyasutaka, yuto1115
- Rated range: ~ 1999
- The point values: 100-200-300-425-500-575-650
We are looking forward to your participation!








Hope I can solve A,B,C,D,E,f.
Hope I can solve A,B,C,D,E
Finally, I solved A, B, C, D.
Hope I can solve A,B,C,(d or e or f or g)
How to solve C?
$$$D$$$ is too hard for me :(
HOW D,E,F,G? They r too hard
same d was really tricky
At this point atcoder should add field in bio: which llm model used for cheating
Update: those users are now removed
One Indian user accepted A~E in just 3minutes!He's really good at OI(too funny to say that)!
I mean, I understand yall being stressed out, but like...
isn't that a bit too harsh to say...? 💀💀💀💀💀💀
how to solve C?it spent me 1.5 hours to solve;But i did not solve it;
我是疯狂条件判断 每次更新最高和最低的边界
Please speak English or Russian in Codeforces.
E was nice
I use Dinic for E, runs fast
Atcoder Trivial Contest
Did anyone else find E TL to be really tight? Neither Hopcroft-Karp nor Dinic from KACTL pass, and I eventually resorted to using the fastest submission to https://judge.yosupo.jp/problem/bipartitematching.
my dinic took 900ms while a hopcraft I found online took 200+ms.
Why do the last few rounds have such significant acceptance rate drop between E and F/G, so the round becomes speedcoder?
Because of NOIP (NOI Promax!) in the day, I'm so sad :(
Thanks to this contest, I got a score of ~500th place and I'm happy :)
Original Problem E
llm can solve G?
umm i think @yangrou is greater than us since he's the only one who accepted G
Problem C involves a classical idea, which is, we maintain a valid interval [L, R] and keep updating it. Check this one https://codeforces.me/contest/1304/problem/C, and you may find that they are almost the same.
For Problem D, the main idea is two-dimensional (interval-covering and prefix-sum). We first calculate the number of cells that are not covered at all. For the k-th cloud, we can find out the number of cells that have been covered only once, and their sum is just the answer.
For Problem E, my solution is based on greedy algorithm. We keep finding all the positions that can only be reached by some single rabbit, and let it be there, and then remove this rabbit. When we stop, suppose that we have removed m rabbits, and there are t positions which can be reached by at least two rabbits, then the answer is just m+t.
Anyone is welcome to discuss problems, algorithms, or even corner cases, and I would always like to share my idea if that could help little. (If you send me messages, you can use English or Chinese)
SUPERBAD round. It make me rating -45.
E wasn't meant to be solved with flows (although it can easily be modeled with flows). The solution is rather nice actually:
So, the solution is just dfs >:)
I saw this, but there was 10 minutes left and I was on the toilet so I just said screw it lol. I care about CF more anyways
Easy ABCDE, but difficult F and very tough G.
Why I wrote a wrong code and Accepted?
As we all know, use brute to make it is $$$O(n\times m)$$$(equals to $$$O(n^2)$$$ in this problem).
I am not well in explain my code in English, so please have a look at my code.Thanks!
greedy solution for E enjoy https://atcoder.jp/contests/abc434/submissions/71386536 :}
For F I was trying to solve using the following comparator
the strings being compared are different (editorial comparator compares AB and BA, here the strings compared are AAA.., BBB..), but it seems the above comparator will find the same index where mismatch arises as the editorial comparator.
But I am not being able to prove this mathematically.
I tried to use your comparator but it gives TLE ..
Yeah it would surely TLE, but the point I am trying to prove is the correctness of the comparator. I even submitted in the below problem of CF and it got AC Solution Link
In G, I used persistent treaps on a segment tree solution mentioned in the editorial. In addition, I've implemented reference counting, and got TLE: TLE
Then I decided to store more than 1 character in a treap node. I ended up solving it with a pretty over-engineered data structure: a persistent implicit treap over blocks of 76 digits, where each node stores the block as two __uint128_t values plus a precomputed hash modulo 998244353. I spent about 18 hours to optimize it.
AC submission (I am not sure that it will pass after resubmit): AC
In the editorial it’s written that a “clever implementation” of this idea passes within the time limit. I’m wondering what exactly was meant by that “clever implementation”:
If anyone (especially the authors) could share a link to a reference implementation or briefly describe the intended trick, I’d really appreciate it. My current code works, but it feels like overkill
I have published our approach using a persistent BBST: https://atcoder.jp/contests/abc434/submissions/71265543
The key idea is to read all queries in advance and perform coordinate compression beforehand, then build the segment tree using the compressed coordinates. This reduces the space complexity to O(N). (If you build a persistent tree on the segment tree in the straightforward way, the space complexity becomes O(N log N), which is likely to cause MLE.)