We will hold AtCoder Beginner Contest 463.
- Contest URL: https://atcoder.jp/contests/abc463
- Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20260620T2100&p1=248
- Duration: 100 minutes
- Writer: KumaTachiRen, MMNMM
- Tester: math957963, cn449
- Rated range: ~ 1999
- The point values: 100-200-300-400-450-500-600
We are looking forward to your participation!








why isn't the site for atcoder ai tagged problems working properly, like many problems are missing.
Why is the announcement getting so many downvotes?
Yeah,it hasn't started yet!
Hmm... but Luogu already has over two million users in China alone, so 900,000 for AtCoder isn't really that much, is it...
Yes, you're right
Shit, wrong chat.
Bad E
Why? I rl enjoyed it
I think E is very interesting =)
I am a complete beginner in competitive programming, so i need the best resources for learning. If anyone knows of any, pls help me books , websites whatever best resources are you known . its must be cover basic to advanced each and every thing which is required in competative journey.
tle cp31 sheet
https://cp-algorithms.com/index.html for algo https://usaco.guide/ topic wise questions https://cses.fi/problemset/ bible for cp you can also follow cp 31 sheet but most of the question of cp 31 are directly or indirectly avalaible in these websites
if u want icpc archives i also give u that
Very standard problems. Speedforces. What is the point of these problems? Was this an educational round?
MathCoder
Short Markdown for Codeforces
There's a typo in ABC463 F editorial: Original:
1. If the champion wins a total of W+1 timesShould be:1. If the champion wins a total of W timesthis was my first contest and I was only able to solve A and B with 6 WA how should I proceed further
That's a really good question! 1600 on AtCoder + CF here.
I think I built up my skills over a very long time but there was definitely a lot of things that made it better. So I think improving in completive programming involves improving both your DSA skills and your problem solving intuition (observation).
Although I didn't use it too much to train myself, I've read through USACO Guide and it seems great at covering all concepts you need to get to, I would say a 2000 AtCoder rating.
However I used the ADM to get most of my algorithmics knowledge
That and quite a bit of Leetcode. Once your algos knowledge is good, practise a lot of Leetcode: they make for a great starting point to learn a lot of competitive programming concepts with simpler (less problem solving) type questions.
Try to aim for the following averages:
Easy Problems: 10 minutes
Medium Problems: 25 minutes
Hard Problems: 40 minutes
Then you can transition into Leetcode contests which are like 90 minutes and have tricky problems that are quite similar to regular Leetcode style. At the same time you can also practise AtCoder + Codeforces.
The thing with AtCoder and Codeforces (especially Codeforces) is that a lot of the questions require "observations", clever things you notice about the problem or what it is that you are asking that help your recognise the solution (instead of it basically being like "write this algorithm with a small variation").
Observational skills are a bit more difficult to teach. Doing logic puzzles can help you a bit, but I think the best way to improve your comp prog observational skills is to practise with a lot of contests.
After each contest, you should at least study the easiest question you didn't solve, reading and fully understanding the editorial before implementing it yourself (without copying any code!)
Hope that helps :)
atcoder is the worst anti-AI/LLM website I've ever seen, bar none.
oh it's real
Hi, i've a doubt with today's C
my first submission was ~~~~~ // this is code void solve() { ll n;
cin >> n; priority_queue< pair<ll,ll>, vector<pair<ll,ll>> > pq; for(ll i=0;i<n;i++) { ll h, l; cin >> h >> l; pq.push({h,l}); } map<ll,ll>mp; ll q; cin >> q; vector<ll>time; for(ll i=0;i<q;i++) { ll x; cin >> x; time.push_back(x); mp[x] = i; } vector<ll>ans(q,-1); sort(time.begin(), time.end()); for(ll i=0;i<q;i++) { ll t = time[i]; ll hi = pq.top().first; ll ti = pq.top().second; while(!pq.empty() && ti <= t) { pq.pop(); ti = pq.top().second; } hi = pq.top().first; ans[mp[t]] = hi; } for(ll i=0;i<q;i++) { cout << ans[i] << '\n'; }} ~~~~~
why it's wrong? it passed only 10 test cases
You are trying to sort the thing as per the times, but as per the constraints the times are already sorted ( L1 <= L2 <= L3 ...). Also, if the queries come as [2, 2, 4 , 6...] then the original query with L = 2 is never processed as the map overwrites it with L = 2 for the second query. Another bug is accessing top of the queue after popping. If the queue has only one element, it gets popped and there is no top left.
This user juanjuan007 may have violated the rules prohibiting the use of generative AI during contests.
Please check this Submission of G.
Although Problem G is a classic, please do not use generative AI to cheat. We must uphold what little fairness and integrity remain for competitive programming in this AI era.
I was solving problem G as follows: Let $$$X_i$$$ be the change in $$$|x' - X|$$$ due to $$$i^{th}$$$ move. Then final answer is $$$E(X + X_1 + X_2 + \dots X_n)$$$ = $$$X + E(X_1) + E(X_2) + \dots E(X_n)$$$. Now, $$$E(X_{i+1})$$$ is 1 if we are at position $$$X$$$ before move $$$i+1$$$ and 0 otherwise. So, $$$E(X_{i+1}) = Pr($$$ we are at position $$$X$$$ after $$$i$$$ moves) $$$ = \binom{i}{\frac{i+X}{2}} \times \frac{1}{2^i}$$$. How do I proceed from here? How to compute the sum efficiently for multiple testcases?
Any problems similar to E that I can solve?
The Editorial of problem E has a wrong: the condition 2 maybe "If the champion wins a total of W times" instead of "If the champion wins a total of (W+1) times"
oh it's F,not E