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

Автор atcoder_official, история, 36 часов назад, По-английски

We will hold AtCoder Beginner Contest 486.

We are looking forward to your participation!

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

»
10 часов назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

中国人能飞,中国电脑更能飞

  • »
    »
    9 часов назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    CCF=Chinese Can Fly (CCF=Copy CF)

  • »
    »
    7 часов назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    mj 呢?飞哪里了?

    Wheres "MJ"?Where WILL it FLY?

»
9 часов назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

I hope I can solve ABCDE.

»
9 часов назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I hope I can solve ABCD, good luck as always to everyone

»
9 часов назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

CCF=Chinese Can Fly (CCF=Copy CF)

»
9 часов назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I want some easy rounds to comfort my feelings.

Hope I won't get my ratings decreased. :)

»
9 часов назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

good luck.

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

i can only solve A and B :(

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

Nice problems and $$$E$$$ was a nice problem, $$$F$$$ is binary search?

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

what was that man how the flip do you solve D? was it greedy?

  • »
    »
    7 часов назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    It is dp (if you want to know more,go to my private message to ask me=))

  • »
    »
    7 часов назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    The idea of this code is: dp[i][j] stands for the minimum stamina cost after dealing with the first i monsters while being at level j. Initially, before fighting any monster, the level is 1 and the cost is 0. We then process the first n−1 monsters one by one. For each monster, we can choose not to fight it, keeping our level and stamina cost unchanged. If our current level is at least the monster's required level, we may choose to defeat it, which increases our level by one and adds the monster's stamina cost to the total. After finishing the first n−1 monsters, we check all possible levels. If a level is high enough to fight the n‑th monster, we take its corresponding minimum cost plus the stamina cost for defeating the n‑th monster, and pick the smallest total. If no valid way exists, we output -1Q.

    (Translate by AI)

  • »
    »
    6 часов назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    check out 0/1 knapsack

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

How to solve Problem D? I can't use Dp to solve it ? Could you give me a standard code?Thank you very much

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

The duration of the competition is too short for me. I always feel anxious and can't come up with any ideas

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

am i missing anything? it seems like the only purpose of all the a and b stuff is to show the out degree of each vertex is two

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

$$$\text{Oh, I'm so sad that the translator tricked me, and I misinterpreted problem C and wasted 20 minutes! Oh, my ranting!}$$$

»
6 часов назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Problem F was a nice Problem...

I would be happy if i could solve it before the contest end.. took me another half an hour.. i got the solution, but killed the time while implementing..

My submission: https://atcoder.jp/contests/abc486/submissions/81167198