ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1134
. Cards
Hint
Posted by
So Sui Ming
28 Feb 2024 08:03
The problem can be reduced to a matching problem.
It can be solved by Dinic's algorithm.
© 2000–2024
Timus Online Judge Team
. All rights reserved.