Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
  • Category : Algorithm
  • Tags :
  • Update : 2012-11-26
  • Size : 20kb
  • Downloaded :0次
  • Author :newheroin
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
Description of laquo: Suppose you want to arrange a batch of events in enough venues and want to use as few venues as possible. Design an effective one The greedy algorithm is arranged. The problem is actually a famous coloring problem. If you take each activity as one of the graphs Vertex, incompatible activities are connected by edges. To minimize the number of colors of the adjacent vertices with different colors The number of venues. « programming tasks: For a given k's scheduled activity, the programming calculation USES the minimum time schedule for the meeting. « data input: Input data is given by input.txt. The first row has 1 positive integer k, which represents the activity of k. Pick up In the k line, each row has two positive integers, representing the start time and end time of the activity of k. time It starts at 0. « result output: Outputs the minimum number of sessions that are programmed into the file output.txt.
Packet file list
(Preview for download)
sche3.exe
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.