ENG  RUSTimus 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 1182. Team Them Up!

I couldn't find my bug on test 25
Posted by kerpoo 20 Aug 2015 17:26
do anyone knows the 25th test?
I think my alg is correct but I can't acc it...
help pls!
Do a dfs on G complement to make it a set of bipartite graphs (remove one way edges) then brute force on set of components after some optimization to avoid TLE and find the best dividing...
any idea?!

Edited by author 20.08.2015 17:30