We will hold AtCoder Beginner Contest 435.
- Contest URL: https://atcoder.jp/contests/abc435
- Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20251206T2100&p1=248
- Duration: 100 minutes
- Writer: kyopro_friends, math957963, ynymxiaolongbao
- Tester: sounansya, cn449
- Rated range: ~ 1999
- The point values: 100-200-300-425-450-550-600
We are looking forward to your participation!








Hope I can solve 5 probelms!
Me too!
Too.
Well,5 problems will be easier than befor.
I just solved 5 problems.But my rank is less than 2000(1639),that's wonderful!
A<C<B
A strange permutation.
I don't think so
So do I I didn't TLE in C,but MLE
C is easier i think.
Because C is just a simulate problem, at least I think it's easier then B.
Thanks to you, I solved it now.
My C question got stuck. I couldn't get past the last point at first, but after reducing the constant, it passed.
i got TLE, used bfs
I think these problems are all easy. awa
B,C are both simulate problems,and they're both easy,I think so.
problem G is hard
A~F are much easier than G...
Say some with our didn't kown.
I found F really simular to a problem in another contest. Good atcoder original contest. Although I finished it(the original problem) before the contest and found the solution of this problem(F) in a quick speed and got much higher performance than before, I will downvote it(this contest).
UPD: https://www.luogu.com.cn/problem/P9352
Is it Codeforces Round 1037 (Div. 3) problem C?
No, I have a much similar version. It's harder than F in today, but F can be seen as a sub-problem of it.
Maybe it's https://www.luogu.com.cn/problem/P9352
WOW REALLY
Maybe all of us use luogu?
umm I'm Chinese.
Maybe a hard problem can separate the really good contestants from the average contestants.
The easiest AtCoder Beginner Contest that I have participated in.
I even solved 5 problems.
UPD: May I downvote this contest?
No, you shouldn't.
Maybe you should upvote yourself.
How does 1358 users passed F, a 550 problem ? F is not that easy, is it because F can be solved by chatGPT?
isn't F standard?
Because F is an original question.So I think some people have copied the correct approach.
I think intended solution looks complicated and there is a simple solution.
Removing max height tower is always optimal (Haven't proved, but intuitively). Once you remove max, the problem becomes into two independent subproblems and we can use recursion to solve in O(n).
To get maximum, we can use sparse table.
I felt it is somewhat similar to your div.2 F1.
Yup, I found the sparse table approach (and implemented it after the contest), but I knew I wouldn't be able to do it fast enough with like 10 minutes left because I didn't have a sparse table template ready (now I do lol), so I just gave up.
I personally found F (slightly) easier than E.
My submission is different from that of the editorial.
I am personally stunned by its 550 score. I don't know where the score comes from.
F is an easier version of [JOI 2023 Final] Cat Exercise
P9352 in Luogu.
Today's problem C concept was similar to recent CF-div2 A i think..
Really easy... except G. I almost used three line segment trees on C, E and F.
Could anyone take a look at my solution for $$$F$$$? I feel like it's correct, I have implemented the same thing as in Editorial. Submission
Update: Such a silly mistake :( I had to take maximum of the best values achievable from left and right side, which I didn't do.
F:https://www.luogu.com.cn/problem/P9352
How to use ODT to solve problem E?
I was trying to learn form rank 1 as i am learning c++ but end up doing ABC in pypy
and i didnt understand anything form the code!! it was alien...(joke)
You must keep study. Then you'll understand it in the future. That usually use our 1 years
ok buddy
AK ABC for the first time with less than 3 minutes left ABCDEF are easy but G is much harder
E:https://www.luogu.com.cn/problem/P1840 https://codeforces.me/problemset/problem/915/E
today's competition ,ABCDE was so easy,F was a little hard,G was much harder in luogu,AB is red,C is orange D is yellow,E is grean,F is green
I'm having a little trouble with problem D, can someone help me see where I went wrong? Thanks!
https://atcoder.jp/contests/abc435/submissions/71522303
Most probably the "Yes" and "No" are case sensitive. You have "YES" and "NO" instead.
I think your approach is pretty overcomplicated anyways, no? I just did
Today's ABC is quite bad!
Problem F is the same problem with Japan OI 2023 Final.
Well for someone who's new to competitive programming such as myself, it's nice seeing such problems regardless. If you're not looking up solutions during the contest or using AI, the fact that this problem has been asked before is unlikely to detract from your experience.
F is just https://oj.uz/problem/view/JOI23_ho_t4 subtask 5
Hi! I'm having some problems with problem C on one particular test case. I want to understand what's wrong. Plsss help. I'm new to cp so don t judge. much appreciated.
https://atcoder.jp/contests/abc435/submissions/71526068
you only jump to the first index in range where arr[i] ≥ arr[start] this can miss a shorter domino located later whose reach (i + arr[i] — 1) is much farther. also your inner loop goes i < end instead of i <= end
Thanks! I got AC.
G is a nice problem! pretty hard compared to the rest of the set but i enjoyed it a lot!
is D question solved using kosaraju algorithm ?
No, try inverting the edges
For problem D, we can build a graph that has all the edges reversed. When a node is changed to black, we start from it and use bfs to find all the nodes that are still white and change them to black as well. Then, when a node is asked, we can directly give the answer.
Problem E involves that classical interval merging idea. Any interval will be inserted, merged (we can also say "deleted") for at most once, and based on set<pair<int,int> >, we can implement these operations with O(NlogN).
For problem F, here are several important observations:
nothing changes unless the position where the cat is standing is removed
when a position is removed, the cat either goes to left or right, and it can never go back to the other side, since this "removed position" has cut off the connection
we can use an idea like divide-and-conquer, and go to left or right to find the maximum distance. According to amortized analysis, the complexity is O(NlogN), where logN comes from segment-tree or sparse-table in order to get the highest position within some interval.
Welcome to discuss :D (if you would like to send me a message, both English and Chinese are ok)