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

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

We will hold AtCoder Beginner Contest 435.

We are looking forward to your participation!

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

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

Hope I can solve 5 probelms!

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

A<C<B

A strange permutation.

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

problem G is hard

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

A~F are much easier than G...

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

I found F really simular to a problem in another contest. Good atcoder original contest. Although I finished it(the original problem) before the contest and found the solution of this problem(F) in a quick speed and got much higher performance than before, I will downvote it(this contest).

UPD: https://www.luogu.com.cn/problem/P9352

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

The easiest AtCoder Beginner Contest that I have participated in.

I even solved 5 problems.

UPD: May I downvote this contest?

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

How does 1358 users passed F, a 550 problem ? F is not that easy, is it because F can be solved by chatGPT?

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

F is an easier version of [JOI 2023 Final] Cat Exercise

P9352 in Luogu.

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

Today's problem C concept was similar to recent CF-div2 A i think..

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

Really easy... except G. I almost used three line segment trees on C, E and F.

»
12 месяцев назад, скрыть # |
← Rev. 6  
Проголосовать: нравится 0 Проголосовать: не нравится

Could anyone take a look at my solution for $$$F$$$? I feel like it's correct, I have implemented the same thing as in Editorial. Submission

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

How to use ODT to solve problem E?

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

I was trying to learn form rank 1 as i am learning c++ but end up doing ABC in pypy

and i didnt understand anything form the code!! it was alien...(joke)

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

AK ABC for the first time with less than 3 minutes left ABCDEF are easy but G is much harder

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

today's competition ,ABCDE was so easy,F was a little hard,G was much harder in luogu,AB is red,C is orange D is yellow,E is grean,F is green

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

I'm having a little trouble with problem D, can someone help me see where I went wrong? Thanks!

https://atcoder.jp/contests/abc435/submissions/71522303

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

    Most probably the "Yes" and "No" are case sensitive. You have "YES" and "NO" instead.

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

    I think your approach is pretty overcomplicated anyways, no? I just did

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

Today's ABC is quite bad!

Problem F is the same problem with Japan OI 2023 Final.

  • »
    »
    12 месяцев назад, скрыть # ^ |
    ← Rev. 2  
    Проголосовать: нравится +9 Проголосовать: не нравится

    Well for someone who's new to competitive programming such as myself, it's nice seeing such problems regardless. If you're not looking up solutions during the contest or using AI, the fact that this problem has been asked before is unlikely to detract from your experience.

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

Hi! I'm having some problems with problem C on one particular test case. I want to understand what's wrong. Plsss help. I'm new to cp so don t judge. much appreciated.

https://atcoder.jp/contests/abc435/submissions/71526068

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

G is a nice problem! pretty hard compared to the rest of the set but i enjoyed it a lot!

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

is D question solved using kosaraju algorithm ?

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

For problem D, we can build a graph that has all the edges reversed. When a node is changed to black, we start from it and use bfs to find all the nodes that are still white and change them to black as well. Then, when a node is asked, we can directly give the answer.

Problem E involves that classical interval merging idea. Any interval will be inserted, merged (we can also say "deleted") for at most once, and based on set<pair<int,int> >, we can implement these operations with O(NlogN).

For problem F, here are several important observations:

  1. nothing changes unless the position where the cat is standing is removed

  2. when a position is removed, the cat either goes to left or right, and it can never go back to the other side, since this "removed position" has cut off the connection

  3. we can use an idea like divide-and-conquer, and go to left or right to find the maximum distance. According to amortized analysis, the complexity is O(NlogN), where logN comes from segment-tree or sparse-table in order to get the highest position within some interval.

Welcome to discuss :D (if you would like to send me a message, both English and Chinese are ok)