Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop Other
  • Category : Other
  • Tags :
  • Update : 2012-11-26
  • Size : 2kb
  • Downloaded :0次
  • Author :chenxueping
  • 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
Given a square grid of N* N, the top left corner is the starting point, the coordinate is (1, 1), and the X-axis is positive, Y The axis is positive, and the sides of each square are 1. A car starts from the starting point and ends at the bottom right corner, with the coordinates of (N, N). At several grid intersections, the oil depot is set up to fuel the car during the drive. The car is on the road The following rules should be observed: (1) the car can only travel along the edge of the grid, and can be filled with oil to drive the edge of the K grid. The car was full of oil when it started No oil depot at the beginning and end points. (2) when the car passes a grid, if its X coordinates or Y coordinates are reduced, then the cost is payable B, otherwise Free of charge. (3) when the car is running, the oil tank should be filled with oil and the cost of refueling is A. (4) add an oil depot at the grid point when needed, and pay for additional oil depot (excluding refueling costs A). (5) (1) ~ (4) N, K, A, B and C are positive integers.
Packet file list
(Preview for download)
car.cpp
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.