We will hold UNIQUE VISION Programming Contest 2025 Summer (AtCoder Beginner Contest 411).
- Contest URL: https://atcoder.jp/contests/abc411
- Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20250621T2100&p1=248
- Duration: 100 minutes
- Writer: yuto1115, math957963, ynymxiaolongbao, toam
- Tester: sheyasutaka, MMNMM
- Rated range: ~ 1999
- The point values: 100-200-350-425-450-525-600
We are looking forward to your participation!








How to do D and E?
Don't discuss problems during competition
use the idea of trie
Kept getting RE on D. How did y'all optimise it?
Go backwards and keep track of the node you want the string at.
I used a trie like structure for D, but instead of starting at 0, i start at the last node stored for that particular PC/server. Also store parents to find the final string and you're good to go.
$$$D$$$ is an amazing problem. How to solve $$$E$$$? I am bad at probability problems :(
Let $$$x_1\cdots x_n$$$ be the face results. $$$E(max(x_1 ... x_n)) = \Sigma_{all face values x}x \cdot P(max(x_1 \cdots x_n)=x)$$$. Here, we know $$$P(max(x_1 \cdots x_n)=x)=P(max_x \leq x)-P(max_x \leq x-1)$$$. So, in this light, we go in ascending order of the $$$x$$$ and $$$x-1$$$ we are concerned about finding the probability for. I did this by maintaining sorts of pointers for each sorted array of die faces and using a set to keep updating the smallest-value one as long as it is $$$\leq x$$$ for the current $$$x$$$. In this way, with some slight nuances when dealing with going from probability of 0 to nonzero probability, you can maintain $$$P(max_x=x)$$$ and $$$P(max_x=x-1)$$$ as you increase $$$x$$$. Add them up and you are done.
Did anyone do F with DSU + bitset?
I did it by DSU-like solutions.
G is a repeated problem: CF11D
Though I liked the idea of DEF, I still downvoted the contest. Why cannot AT spend some time on checking the repeated problem? This will ruin my interest in participating in ABCs.
And G IS QUITE STANDARD
In fact AI can pass it.
"Artificial intelligence Beats and repeated problem searching Contest"
G is extactly a classic problem,i don't think they checked their problem carefully.
G shouldn't be at that position, could be better at maybe D or E
NO, G shouldn't be in the contest
And so do E(that was almost same as CF453A)
I think the problem G isn't creative enough, it had an almost same method with CF11D, only added multi-edges.
At the same time, how does AtCoder check AI? I have a classmate (I cannot say or I'll screwed) who use AI without skipped before...
UPD: Banned. I don't know it's good or bad.