We will hold AtCoder Beginner Contest 478.
- Contest URL: https://atcoder.jp/contests/abc478
- Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20261003T2100&p1=248
- Duration: 100 minutes
- Writer: MMNMM, KumaTachiRen, toam
- Tester: harurun4635, kyopro_friends
- Rated range: ~ 1999
- The point values: 100-200-300-400-475-525-625
We are looking forward to your participation!








UwU!, aiming to solve till D this time
mission accomplished
I hope I can solve A to E.
Me too.
Good luck for you!
aiming to solve D this time!
Hope I can perform well in this contest and get >=1200 rating,so that my username can become cyan
Hopefully I will AE this contest.
Hope not NTT round or Maths Round.
Hopefully I can solve A-D this time, good luck to everybody!
good luck to you too.
I hope I can solve A to E.
$$$E$$$ has an easy idea but hard to implement :(
Rubbish contest
Why do these comments always receive upvotes?I heared lots of comments
I am so mad, i spent so long on fricking B, this has never happened before, i could have solved C way faster... couldnt even look at D :(
i spent lots of time fracking C
If you just looked at the conditions of B. O(n^3) solution was straight frwd.
Yeah ikrr it was just O(N^3) but I didn't see it, and then after the contest i realised and now i am beating myself up. It's alright tho, next time!!
yeah, B was irritating (i didnt even give the contest, and did a rated register, my rating fell down, but i upsolved)
I solved A to C at last.I realy need to improve my coding ability
I just solved ABCD in 60 minutes, and then I couldn't continue to solve E
now atcoder is full of AIer (((
It's not a good academic environment for human (and their rating). In fact, if you have a great prompt, AI's code is very similar to human's.
Those guys are just deceiving themselves. We play games to be happy and improve ourselves, and using AI doesn't give us either of these benefits
What's the solution for C? I spent like an hour implementing 2 segment trees (and debugging of course) and still got 6 WAs
And I ragequitted btw
I feel you man..., if you let A = X + Y + Z, where Y is window of size K you only need to check if max(X) <= min(Y) and max(Y) <= min(Z), if so then answer is "Yes" just check it for all window of size K.
edit: also check if X, Y is already sorted !!!
X and Z can be precal with prefix min and suffix max on array, that Y part can be well whatever you like I use multiset and queue.
I just watched Errichto's video and realize it...
can you please share the link of his video please
Here
Thanks alotttttttttt
I compared sorted version of A and original and check the window where they were different, if that window length is greater than K then no solution
How terrible the problem E!In this and last ABC, I only had 5 WA status ans couldn't AC the problem at last.
F <<<<<<<<<<<<<<<<<<<<<<< E
but F is hard to think,it took me 30minutes to think ,and 4minutes to code
It onlt took me 10 min to think and code
Today's e is a disaster. It is most obvious to me that it is a template difference constraint system. I implemented and repeatedly got tle (10 attempts). It turns out that the intended solution is SCC, and is clearly, not nearly as obvious as difference constraint system. Either make the difference constraint solution allowed, or adjust the problem so that SCC is more applicable. Better testing is needed for these ABC contests.
I think the key observation is that a t=1 edge cannot exist inside an SCC: following paths around the SCC would force an impossible strict increase. After contracting SCCs, the graph is a DAG and the answer is just a longestpath DP
2245D1 A similar question which came in one of the recent codeforces contests
F is actually soo gooodd. Beautiful observation and such simple solution
yeah better than E where it require you to know ball more than thinking.
I used SPFA ,which can`t pass all the datas of E.I think it might be educational.
spfa is actually have a anti test which makes it runs in v * e complexity u know, the solution of that problem is scc compression and a little bit of DAG processing
Actually, SPFA can pass with some weird optimizations. I passed with SPFA by changing the queue to a stack.
Submission with: queue | stack
Is this contest a rubbish? E is Yuanti.