文件名称:horse
介绍说明--下载内容均来自于网络,请自行研究使用
对于给定的齐王和田忌的n 匹马的速度,求进行n场比赛后,田忌最多可以得到的钱
由文件input.txt给出输入数据。第一行是一个整数n,表示齐王和田忌拥有的马的数目,
第二行有n个整数,表示齐王的马的速度x1, x2, …, xn,第三行有n个整数,表示田忌的马
的速度y1, y2, …, yn。
1 ≤ n ≤ 10,000 1 ≤ xi, yi ≤ 1,-For a given n the齐王and田忌the speed of horses, and after games for n,田忌money can be given by the input data file input.txt. The first line is an integer n, that齐王and田忌the number of horses owned by the second line there are n integers, said Ma齐王speed x1, x2, ..., xn, the third line there is a whole number n that Ma田忌speed y1, y2, ..., yn. 1 ≤ n ≤ 10,000 1 ≤ xi, yi ≤ 1,000
由文件input.txt给出输入数据。第一行是一个整数n,表示齐王和田忌拥有的马的数目,
第二行有n个整数,表示齐王的马的速度x1, x2, …, xn,第三行有n个整数,表示田忌的马
的速度y1, y2, …, yn。
1 ≤ n ≤ 10,000 1 ≤ xi, yi ≤ 1,-For a given n the齐王and田忌the speed of horses, and after games for n,田忌money can be given by the input data file input.txt. The first line is an integer n, that齐王and田忌the number of horses owned by the second line there are n integers, said Ma齐王speed x1, x2, ..., xn, the third line there is a whole number n that Ma田忌speed y1, y2, ..., yn. 1 ≤ n ≤ 10,000 1 ≤ xi, yi ≤ 1,000
相关搜索: horse
(系统自动生成,下载前可以参看下载内容)
下载文件列表
horse.cpp