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








Hope I can Solve C & D
Hope I get new high score
I solved E last time. Hope I can solve E this time.
Good luck.
Hope I can solve E & F!
I am at school now.I didn't have 5.01 holiday!TOO BED!
BED hhh
en,dui
delicious :)
What do you mean by "en,dui"?
not delicious:(
delicious XD
ddelicious
BED
Yes,bed,not bad.
TO BED!!!
zhe qi shen le
Can u speak english?
Let's speak Chinese; TO BED!!!||You can write no more than 4 comments in 60 minutes
“BED” awa
I hope I get high score.
unsigned long long score = -1;
Bless you, tty!
That's 18446744073709551613. Too much----you could use it till your great-great-great-great-great-......great grandson("great-"10^9 times over).
Another Good Contest :)
Happy May Day:) have a nice ti
有中国的吗?
不要在CF上说中文
Don't speak Chinese on CF
why?
Yes
Bit like talking in code. Other people might feel insulted, like me sitting besides two people who are chatting in French. PCMSFV meant "Are there any Chinese people here?" Don't ask me why I understand Chinese----'cos I'm Chinese! And don't ask me why I am so good at English! I have B2 certificate and 1400L!
Yes,Once, when I was speaking Chinese with someone and there was a person nearby who didn’t understand Chinese, he got very angry because he couldn’t understand what we were saying.
Because CF is a internatinoal community
Why?
我是
stfu china guy
OK
will try to solve utpo F
Hope I can solve E. qwq
hope i can solve at least 3 problems
God bless me. Now I have solved A~E.
Oh no!TLE
Why E is sooooo hard
No~just a graph DFS. Although I didn't solve it because I'm a slowpoke coder and by the time I've looked, there's only 25 mins left :(
Solved A to D. How to solve E and F ?
Anyone else misread substrings as subsequences in problem C? I solved problem D before I even opened it...
in C, not the substrings as subsequence but my brain ignored the "modulo 998244353." part I was stuck why my answer is producing 3 WA after submitting :( good thing I was able to notice it last minute
solved A and C but wasted my time on that modulo, Also how to solve B??? :(
its very simple, just loop over all possible outcomes of 3 dice and check if they are a permutation of 4 5 6, then divide by 216 ($$$216 = 6^3$$$)
I see, during the contest I thought that the answer is some math formula that I probably don't know... but now that you mentioned it yeah I could just loop over all the possible outcomes since its not that much, my brain not working again :(
Here's my code, although I do recommend changing the cnt4[3], cnt5[3] and cnt6[3] into cnt[3][3]. I changed
a/btob/apurely because of an emergency. It ACed though.Remember to use
doubleinstead offloat.Honestly, you should learn more techniques before competing in ABC. Don't wrong me, I'm not telling you off, I'm just advising.
Why do you return zero for division by zero? That's a weird function.
There are no prerequisite techniques to compete in the beginner contest. He's learning this idea by upsolving the problem.
I used dp in C. DP IS a algorithm which needs technique.
I'm not saying that no technique is needed to solve all the problems. But problems A and B usually don't require any previous knowledge.
That's why it's called the beginner contest.
Oh well. I'm an beginner after all. You can check my account here. You can see that I rarely solve C, but I'm trying.
That's very consistent progress, keep it up!
By the way, C doesn't require DP. D does require DP (I think).
C DOES require DP. Check it out in my code.
You're confused about the meaning of the word require.
(Reply to explainer): I get it. I just wanted to say that it can, but not must solved by dp. By the way, the comment depth is to it's maximum. Shall we write on "usertalk"?
Python solution:
Why can you write comments so fast?! I mean, why can you write comments a minute apart?!!! When I do, it says "You can only write a comment in ten minutes."
It's a mistake when coding. I wrongly thought that I needed division like n/0.
That would be quite a thing to need to divide by zero...
Anyways, you want your program to blow up on coding mistakes, not fail silently.
G has 100 solves. ig now all beginners are familiar with gf. this is getting ridiculous
I try C in a hour and I failed!
+1
Think of splitting the string at positions where s[i] = s[i + 1]
This is ok.ABCDE and Rk1427.How G?
a large gap between E and F
F,G is very hard!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
How F,G?
I created video editorial for F. Plan Holidays.