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
1042
. Central Heating
How to choose from answers the shortest one ?
Posted by
nc
3 Jan 2011 14:28
we make equations for the input
3
1 3 -1
2 -1
1 2 3 -1
whe construct the maxtrix
1 0 1 = 1
0 1 1 = 1
1 0 1 = 1
The two answers
1 2 and 3 which is right ?
© 2000–2024
Timus Online Judge Team
. All rights reserved.