We will hold AtCoder Beginner Contest 360.
- Contest URL: https://atcoder.jp/contests/abc360
- Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20240630T2100&p1=248
- Duration: 100 minutes
- Writer: MtSaka, Aus21, ynymxiaolongbao, sotanishy
- Tester: Nyaan, math957963
- Rated range: ~ 1999
- The point values: 100-200-250-350-450-550-625
We are looking forward to your participation!
Hopefully my rating doesn't rotate 360 degrees in this contest
Why ABC is scheduled on Sunday instead of Saturday?
There's ARC on Saturday.
Don't know their reason but for me makes sense having the ARC on Saturday instead of doing it right before div1+div2 round on Sunday.
土曜日に開催される「第五回日本最強プログラム学生セレクション-プレ選考-」がABCの時間を割いてくれた。
ABC is on Saturday in China......
Do you lose your mind? Today is Sunday!
Where can one get the test cases for the AtCoder Beginner Contests? The test cases seem missing after ABC 355 on the Dropbox link they provided on their site.
They are updated late, probably after 1 month ig after the contest.
My scheduled post-contest discussion stream
excited!
Why did this contest comes in Sunday.But ABC361 is on Saturday.
ABC rounds are usually held on Saturdays but this time ARC round was scheduled on Saturday hence this was scheduled on Sunday.
B is the worst problem I have ever seen.
??? Just brute force!
I'm getting wrong answer
Brute force according to the constraints of the problem!
Problem FG got wrong answer in 4 test cases in total, but none of them got accepted.
Can anyone tell me why my solution of F get wa*3 ??
Assuming your username in AtCoder is SkyWave2022, you didn't even submit anything for Problem FG. What "solution of F" are you referring to?
That's not my acc.
Try this case. I found my wa*1 solution output 0 0 during the contest.
can you please see my comment below?
My solution passed this case :(
Thank you anyway
Same here
Why the hell my solution to D getting wa in 2 cases doesn't for a positive direction ant starting at X , negative directions ants starting from range X to X+(2 * T) form valid pairs only?
is there $$$O(1)$$$ solution for problem E?
I have $$$O(log(k))$$$ (which come from power).
The formula is $$$\frac{\frac{n(n + 1)}{2}a + (n^2 - 2n)^{k}}{n^{2k}}$$$ where $$$a=\frac{n^{2k} - (n^2 -2n)^{k}}{n}$$$. Actually number of cases, that the black ball end up at position $$$i$$$ is $$$a$$$ if $$$i$$$ is not $$$1$$$. For $$$1$$$, it is $$$a + (n^2 - 2n)^{k}$$$. Since the number of possible cases for doing the operation $$$k$$$ times is $$$n^{2k}$$$, we can get the mentioned value of $$$a$$$.
I got $$$\mathbb{E}[\text{X}] = \left(1 - \frac{2}{N}\right)^k + \left(1-\left(1 - \frac{2}{N}\right)^k \right)\left(\frac{N+1}{2}\right)$$$
I first solved for $$$k=1$$$, then for the general case, assume $$$a_{t,k}$$$ be the probability of reaching $$$t$$$ in $$$k$$$ operations, then got the recursion (inspired from calculations of $$$k=1$$$ case) : $$$a_{t,k} = \frac{2}{N^2} + \left(1-\frac{2}{N}\right)(a_{t,k-1})$$$ with initial conditions as $$$a_{t,0} = 0$$$, if $$$t \neq 1$$$; $$$a_{t,0} = 1$$$ else.
Now, writing the expression of the expectation and the probability derived from above, remains long amounts of simplifications T_T.
why my solution for problem b is getting wrong. Any test cases
D not having a single sample with unsorted X was unnecessarily evil IMO.
please see my comment
I was about to submit, luckily went back to confirm this from the constraints!
When will the ratings be updated?
We have noticed that some contestants' submissions for Problem B were judged as WA instead of AC due to violations of the input constraints we prepared. We are currently discussing internally how to address this issue, so please wait a few days for the rating update.
Can somebody tell me why am i getting 3wr on F?
https://atcoder.jp/contests/abc360/submissions/55102148
Ok, I figured D is reduced to finding the number of intersecting interval pairs. Then I tried to sweep maintaining the current number of open intervals (+1 at a start, -1 at an end+1), but how do I make sure I don't over-count the same interval pair?
Not sure if the editorial of ABC 355D can answer your question.
Nice, thanks.
Intervals have same lenth, so if you maintain # of intervals of one direction and count pairs when you meet one with another direction, can prove that you will not count the same pair at different end points.Here is my Code
That's indeed an important observation I wish I had made. Thanks!
I need solution of problem F please.
When will the ratings be updated?
We have noticed that some contestants' submissions for Problem B were judged as WA instead of AC due to violations of the input constraints we prepared. We are currently discussing internally how to address this issue, so please wait a few days for the rating update.
Is it unrated?
For G, wouldn't just setting $$$A[0] = 0$$$ and then finding the LIS work? Or am I missing something?