atcoder_official's blog

By atcoder_official, history, 3 years ago, In English

We will hold SuntoryProgrammingContest2023 (AtCoder Beginner Contest 321).

We are looking forward to your participation!

  • Vote: I like it
  • +73
  • Vote: I do not like it

| Write comment?
»
3 years ago, hide # |
Rev. 2  
Vote: I like it -21 Vote: I do not like it

I hope it can be simpler.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

How to do F?? giving tle at tc 66

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

hard:(

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Still struggling with C — 321-like Searcher At the end, I was able to figure out that the count will be 10, 45, 120, 210, 252, 210 etc. but can't able to code it. But overall the contest was good, the problems are quite fine.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I found B Hard. For the very first time so much wrong submission on B

»
3 years ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

In problem F, why is the order of enumerating is $$$x, x + 1, \dots, K-1, K$$$ when the operation is -?

I can understand the traditional dp order of enumerating is $$$K, K-1, \dots, x + 1, x$$$ when the operation is +, but I can not understand the question above. T.T

  • »
    »
    3 years ago, hide # ^ |
    Rev. 2  
    Vote: I like it +7 Vote: I do not like it

    You can assume the last added element is x(since the order of adding element doesn't matters) and think of it as "undo" the last operation of adding element x, so you do everything reversely.

  • »
    »
    3 years ago, hide # ^ |
    Rev. 2  
    Vote: I like it +8 Vote: I do not like it

    dp[i] = number of ways of getting a subset sum of i. When removing x, you want to subtract the number of ways of obtaining i-x from dp[i] without using this x.

  • »
    »
    3 years ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Backward knapsack algorithm. Because $$$dp_i\to dp_{i+x}$$$ and continues, we need to first delete the contribution of smaller i to make sure that the we won't count extra contribution of x.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

for D , can anyone tell why my code is failing

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

emm...My D solution is better than the editorial

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

How to solve G?

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

could any one tell me why my E get RE in two of the tests.my code

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Thank you for the contest! finally became blue on Atcoder as well woo!
The problems were nice. (fun fact I solved C with digit dp and binary search)

»
3 years ago, hide # |
Rev. 2  
Vote: I like it -19 Vote: I do not like it

I would suggest that Ex-difficulty tasks should return to ABC. This being said, you may be wondering how it could be done in such a situation with a lack of hard tasks. Here is my idea. https://codeforces.me/blog/entry/120695

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Thanks for Suntory for easy problems in this contest.

With this contest, my rating difference went beyond +100 again.

Thanks.

»
3 years ago, hide # |
 
Vote: I like it +16 Vote: I do not like it

Problem F — #(subset sum = K) with Add and Erase : solution

»
3 years ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

How to solve E?

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I can't watch the editorial of problem G because I don't know how to browse Youtube, do you have text editorials? thanks!

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

does atcoder provide editorials ? i am a complete beginner in cp. Any help would be appreciated.

  • »
    »
    3 years ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Yes, the Japanese version is normally available immediately after the contest (like in this one) while the one in English can take a bit longer.