Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Data structs

white_black

  • Category : Data structs
  • Tags :
  • Update : 2012-11-26
  • Size : 367kb
  • Downloaded :0次
  • Author :zac****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
1 Description of the problem based on the distribution of plane n-n-white spots and black spots, each point with a pair of coordinates (x, y) said. A black point b = (xb, yb) dominating a white point w = ( xw, yw) if and only if xb> = xw and yb> = yw. If the black point b dominant white w, then the black point and white point w b can match (which can form a matched pair). in a black spot at most can only be matched with a white spot, a white point can only match with the premise of a black point, find the n-n-white spots and black spots on the maximum number of matches. 2, specific requirements requirements: time efficiency in the O ( NlgN) 3, Implementation of the greedy algorithm based on x coordinates in ascending order of black spots (available QUICKSORT or HEAPSORT), generating a small white spot root heap!
Packet file list
(Preview for download)
2008301500209:黑白点问题\1.cpp
.........................\1.dsp
.........................\1.dsw
.........................\1.ncb
.........................\1.opt
.........................\1.plg
.........................\2008301500209:黑白点问题\1.cpp
.........................\.........................\1.dsp
.........................\.........................\1.dsw
.........................\.........................\1.ncb
.........................\.........................\1.opt
.........................\.........................\1.plg
.........................\.........................\Debug\1.exe
.........................\.........................\.....\1.ilk
.........................\.........................\.....\1.obj
.........................\.........................\.....\1.pch
.........................\.........................\.....\1.pdb
.........................\.........................\.....\vc60.idb
.........................\.........................\.....\vc60.pdb
.........................\.........................\resource.h
.........................\.........................\Script1.rc
.........................\.........................\Script2.rc
.........................\Debug\1.exe
.........................\.....\1.ilk
.........................\.....\1.obj
.........................\.....\1.pch
.........................\.....\1.pdb
.........................\.....\vc60.idb
.........................\.....\vc60.pdb
.........................\resource.h
.........................\Script1.rc
.........................\Script2.rc
.........................\2008301500209:黑白点问题\Debug
.........................\2008301500209:黑白点问题
.........................\Debug
2008301500209:黑白点问题
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 :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.