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

football

  • Category : Algorithm
  • Tags :
  • Update : 2012-11-26
  • Size : 6kb
  • Downloaded :0次
  • Author :杨毅刚
  • 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 Exciting European Cup in June 2008 to begin to direct people around the world will flock to the host country, Switzerland and Austria. As competition in different cities, in order for fans to arrive as soon as possible in various cities, the organizers decided to build the railway between the cities to meet the needs of the railway line, of course the shorter the better myself. Now your task is to help the organizers choose the best rehabilitation program. Input Enter the first line is a number n (2 <= n <= 50), indicated that the number of cities. Followed by an n* n matrix A, A [i] [j] represents the first i and j cities, cities in the path (0 <= A [i] [j] <= 100000), Urban numbered from 0 to n-1 The third line is an input number q, said the tournament has q queries. Followed by the q lines of two numbers s, t (0 <= s, t <= n-1), said the organizers need to ask from s to t, the shortest distance from the construction. Output Output
Packet file list
(Preview for download)
football.c
football.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.