Does somebody know how to solve problem C from Atcoder DP contest using bitmasks?

Правка en1, от Wunka, 2021-09-10 17:21:20

Hi! I was solving problem C from Atcoder educational DP contest and it seems to me that this problem can be solved using bitmasks. If you're smarter than me and can solve this using bitmasks — share the solution in the comments(or if it is impossible to solve it in that way , explain please why it is impossible).

Link to the problem : https://atcoder.jp/contests/dp/tasks/dp_c

Теги atcoder dp contest, #atcoder, #help, #bitmasks

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Wunka 2021-09-10 17:21:20 472 Initial revision (published)