文件名称:horse
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:878byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
对于给定的齐王和田忌的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
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。