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 1160. Network

usefull hint
Posted by Roman Rubanenko 31 Jul 2010 13:58
Just minimize the max length of a single cable,then output all the edges that shorter then max or equal.
GL
Re: usefull hint
Posted by akaki 4 May 2011 16:23
yes but in example test
4 6
1 2 1
1 3 1
1 4 2
2 3 1
3 4 1
2 4 1
max is 1 and you must print
1
5
1 2
1 3
2 3
3 4
2 4
but answer is
1
4
1 2
1 3
2 3
3 4
Re: usefull hint
Posted by xwei 1 Dec 2011 22:55
There are multiple answers satisfy the condition.
Both you wrote are correct.