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

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

We will hold HHKB Programming Contest 2023(AtCoder Beginner Contest 327).

We are looking forward to your participation!

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

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

Hello.I wish luck to everyone in this contest!

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

AtCoder isn't working? It shows 403 on my browser. Is it my problem?

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

is problem E a dp Problem ?

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

Why finding cycle in D doesnt work? it failed on 3 test cases

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

I think F is a famous problem in Luogu named "Stars in the Window".

Problem's link:https://www.luogu.com.cn/problem/P1502.

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

How to solve E?

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

Why does my D-question program have a test point wrong? I treat a[i] and b[i] as two nodes of a graph to determine whether they are bipartite graphs. https://atcoder.jp/contests/abc327/submissions/47266143

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

Why does this give wrong answer on 3 cases? submission

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

Lesson learnt. On AtCoder, I can try unordered_map when map causes TLE. I didn't do so so far because on Codeforces, unordered_map is subjected to hacking. On AtCoder, there is no such concern.

My TLE solution on E with map: submission

My AC solution on E with unordered_map: submission

I ended up replacing the map by vector during contest though.

»
3 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +5 Проголосовать: не нравится

G need 30 rows, but A117279 only provides 25 rows....

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

Same :(

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

In task E, can someone explain why picking maximum K elements for each k greedily doesn't work ????

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

In G — Many Good Tuple Problems Editorial(English Version)

g(n,m):= (the number of simple connected graphs with n vertices and m edges, where each vertex is painted either white or black, and no edge connects vertices with the same color).

should be

h(n,m):= (the number of simple connected graphs with n vertices and m edges, where each vertex is painted either white or black, and no edge connects vertices with the same color).

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

can some one point out what is wrong in my code . It's failing on 4 test cases.Your text to link here...

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

E's solution is dp, right guys?

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

HELP, Anyone can explain the F solution? Editorials become somewhat complex to understand. Just explain the part, what you are storing, updating, query..... in the data structure, and why.