搜索资源列表
jiayou
- 假定你开去香格里拉。出发前油箱是满的,可以行驶D公里。路上一共有n个加油站,A[i]表示从第i-1加油站到第i个的距离。最后一个加油站在香格里拉。请设计算法帮助驾驶员选择加油站使加油的次数最少-Suppose you go through Shangri-La. Tank is full before departure, can travel D km. On the road a total of n stations, A [i] that from the first i-1 i-sta
getTheRightPosition
- 需要在一个N × M的网格中建立一个通讯基站,通讯基站仅必须建立在格点上。 网格中有A个用户,每个用户的通讯代价是用户到基站欧几里得距离的平方。 网格中还有B个通讯公司,维护基站的代价是基站到最近的一个通讯公司的路程(路程定义为曼哈顿距离)。 在网格中建立基站的总代价是用户通讯代价的总和加上维护基站的代价,最小总代价。-The need to establish a communications base in an N × M grid, communicatio
7canshu
- 在不同站上观测了一些公共点,就可以将这些点的坐标归算至一个坐标系-Total Station to measure the two coordinates seven-parameter conversion
