Блог пользователя atcoder_official

Автор atcoder_official, история, 8 месяцев назад, По-английски

We will hold AtCoder Beginner Contest 322.

We are looking forward to your participation!

  • Проголосовать: нравится
  • +35
  • Проголосовать: не нравится

»
8 месяцев назад, # |
  Проголосовать: нравится +27 Проголосовать: не нравится

Note to self: Solve in this order A-B-D-E-C

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I'm looking forward to seeing the problems of the contest! Atcoder has problems which are very interesting and useful for learning.

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Yeah, looking forward to getting a positive delta:D

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

why 7 problems instead of 8?

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I hope my performance can get 2100+.

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Good luck with all the questions!

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Good luck everyone ^^

»
8 месяцев назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

Posting this with no context

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

D,E are so much difficult :(

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Writers of D and E I am coming to your house

  • »
    »
    8 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    E was easy,D was difficult,problem like F is also present in codeforces edu section.

    • »
      »
      »
      8 месяцев назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      I kinda disagree D is easy but the implementation part is too much for an ABC-D problem and E is kinda of no brainer as well and the implementation also a bit too much

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I guess today's test was a confidence booster

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

How can we solve E using DP ? what's the state and transition

  • »
    »
    8 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    States were index and parameters. you can see my submission for ref.

  • »
    »
    8 месяцев назад, # ^ |
    Rev. 4   Проголосовать: нравится 0 Проголосовать: не нравится

    it's pretty easy it's knapsack type of dp where either you pick a plan or no but since you have atmost 5 parameters where you can add the A[I][J] you can hardcode those states and you will have a dp[N][6][6][6][6][6] and transition you have two options skip or add the a[i][0] to the first parameters a[i][1] ... to a[i][K] but you should be careful since we need to be atleast P you don't have to keep adding while it's above P so you can do this trick of max(a[i][0] + Par1 , P) where Par1 is the first parameter etc... Or you can use map as as DP array to store all the 6^5 possible states instead of hard coding them.

»
8 месяцев назад, # |
  Проголосовать: нравится -9 Проголосовать: не нравится

What is the purpose for setting the problem D? It uses almost no algorithm!

E and F is both easier than D in coding, and D takes me more time.I don't think problems like D is good.

And also, F is an original problem in Luogu.

  • »
    »
    8 месяцев назад, # ^ |
      Проголосовать: нравится +28 Проголосовать: не нравится

    The purpose is to test your implementation skills and speed. These kinds of problems often require you to compose your code correctly into functions in order to save time spent writing code in the contest. I think they are good to have on occasion, but maybe better in contests that are a little longer.

  • »
    »
    8 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Which problem in Luogu is F?

»
8 месяцев назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

fucking dirty D

»
8 месяцев назад, # |
  Проголосовать: нравится +9 Проголосовать: не нравится

Is there a way to do F other than lazy bashing? Also D is the most awful implementation I have had the misfortune of solving

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

D is a good problem , but i dont like it. hope never see some as it again

»
8 месяцев назад, # |
Rev. 2   Проголосовать: нравится -6 Проголосовать: не нравится

what trash D and typical F......

»
8 месяцев назад, # |
  Проголосовать: нравится +14 Проголосовать: не нравится

D is fkin implementation

E is fkin DP

F is fkin segtree template

»
8 месяцев назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

Problem F is so typical, it is even an exist problem.

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Is there some elegant less code solution for D? Otherwise the problem is just implementation hell.

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Sometimes you have to do some tedious works. D is just a reflection of life which is very educational.

»
8 месяцев назад, # |
  Проголосовать: нравится -18 Проголосовать: не нравится

what's wrong with this round????? boring as shit.

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can anyone explain how (if possible) I can improve my method to work for D. Basically, I'm tiling in a checkerboard manner, with the observation that if a polyomino is even, the black and white squares will match, so polarity can either be Odd Odd Even or Even Even Even. Then I check if it's possible to match up to equate. This fails on sample 3 and 3 other random cases. I refuse to believe that there's a non-brute force method, so can someone improve my code to AC? Thanks.

Here is a link to my submission:

https://atcoder.jp/contests/abc322/submissions/46104612

»
8 месяцев назад, # |
  Проголосовать: нравится -27 Проголосовать: не нравится

trash D

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

First time for me to write a 11-level nested for-loop in a contest!

»
8 месяцев назад, # |
  Проголосовать: нравится -15 Проголосовать: не нравится

Implementation of D insulted my implementation skill or is it trash itself ?

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

The D and E are not very good,they don't have many thinking difficulty, but need a lot of code

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Why this contest felt like till C, there's nothing, and then the difficulty jumps sudden?

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

C is easy,true

»
8 месяцев назад, # |
  Проголосовать: нравится -18 Проголосовать: не нравится

Immediately after looking at D, I didn't want to solve it.

After looking at evima's video editorial, I just want to think that the task never existed in all history.

Like seriously what is this abomination

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Is there someone who can help me? I'm having trouble with this code not working in E.

My E code

»
8 месяцев назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

F is an old problem (it is a easy version of SCOI2010 序列操作(SC, Sichuan, is a province of China)).

I think E is better, the trick is not very very easy to think of.

D is hard to write.

»
8 месяцев назад, # |
Rev. 2   Проголосовать: нравится +6 Проголосовать: не нравится

Tests for problem D are a bit weak. For example, this submission is wrong because if all three pieces overlap at the same place, it will be judged as correct. The following test can hack it.

####
####
####
####
####
####
####
####
####
####
####
####

upd: There is another problem with the code, I have no idea how it could possibly have passed. Hack:

.#.#
....
....
....
###.
.###
####
###.
....
....
....
...#
»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

:v D is a big problem when implementing, E is DP tricky

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Some people cheat in problem F. Like this submission, it is nearly the same as the first article in the luogu tutorial.

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

C is easier than usual,D is harder than usual

»
7 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Hello, in problem D editorial, there's proposition of using binary operation : https://atcoder.jp/contests/abc322/editorial/7311. To be honest, I didn't understand it at all. Can someone explain it further. Thank you,