Comments

Can you help me explain why this solution is opimized base on hungarian solution

On enooneIZHO18 nice sequence, 4 years ago
+9

can u prove that Length of the sequence is n + m - gcd(n, m) - 1 ?

I have a question how can we prove that W can be generated after doing the operation any number of times

Can you explain solution E in the editor? I don't understand the k in dp [pos] [k]

Can you explain a little bit about your code, pls?

AntiBsayer In problem F, when ans == mx + 2, why do you sort the vertex by its size as a subtree out of greed ? Can you explain it

what about (n + i-1) / (n + i) ? Can you explain more, pleaes?

Can you say how you solve it ?