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

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

We will hold AtCoder Beginner Contest 380.

Please note that new generative AI rules will be applied from this ABC.

We are looking forward to your participation!

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

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

I think problem D should be easy.

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

I have been participating AtCoder Beginner Contest for about 1 year. I am a beginner, I have done 5 problems for only once. Anyway, I hope I can get five problems this time. Wishing everyone have fun and good luck!

PS: I am a Chinese student, if there are some fault in the words above, please forgive me!


I love coding!

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

Solved A $$$\sim$$$ F, wonder how to solve G

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

Wonder how E,F,could anyone give me a help?

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

Why did I get an RE+WA in D?Can anyone help me? my submission

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

Strange things happening with my code for problem D. It show wrong answer for sample test case but it is showing correct answer in my pc. Can anyone help me to find the problem in my code , please ~~~~~ Your code here...

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

I read the editorial of D problem. Can anyone explain why counting number of set bits in binary representation helps us determine if the character is flipped or not?

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

Can anyone please check my code for E — 1D Bucket Tool giving WA. I have used a set to keep a track of all the starting position of any particular colour, and tried to update the count on every new type 1 query.

Link: MY_SOLUTION