搜索资源列表
Tug og war.rar
- Tug of War A tug of war is to be arranged at the local office picnic. For the tug of war, the picnickers must be divided into two teams. Each person must be on one team or the other; the number of people on the two teams must not differ by more than
1050MovingTtables
- HDOJ ACM input:The input consists of T test cases. The number of test cases ) (T is given in the first line of the input. Each test case begins with a line containing an integer N , 1<=N<=200 , that represents the number of tables to move. Ea
shouyinzhushou
- 根据系统全部零钱内钱币的信息,按钱币总张数最少的原则进行退币, 零钱总数:50元的10张,20元的20张,10元的50张,5元的100张,1元的100张,5角的200张,1角的500张,一角以下的可以丢弃。-According to the information system within all change coins, the coins, the total number of at least the principle of the coin, change the total n
jj
- 问题描述: 给定n位正整数a,去掉其中任意k个数字后,剩下的数字按原次序排列成一个新的正整数。 算法设计: 给定n (1<=n<=200)位的正整数a和k,此时,k小于n。 试着设计一个算法,找出删去k个数,剩下数字组成的新数最小的删数方案。-Descr iption of the problem: given n-bit positive integer a, which removed the arbitrary k-figures, the rem
horse
- 田忌赛马问题 假设其中胜者可以从对方手中得到¥200,输者必须给对方¥200,平局各不付钱。 已知齐王总是按照速度从大到小派出马比赛,请问田忌要使用怎样的策略,才能使自己 赚的钱最多(或者输的钱最少)。 编程任务 对于给定的齐王和田忌的n 匹马的速度,求进行n场比赛后,田忌最多可以得到的钱(或 最少输的钱)。-Tian Ji' s horse assumptions which the winner can get ¥ 200 from the other hand
view
- 问题:设某个田径运动会共有七个项目的比赛,分别为100米、200米、跳高、跳远、铅球、铁饼和标枪。每个选手最多参加3个项目,现有六名选手参赛,他们选择的项目如表1-1所示。考虑到每个选手的参加的各个项目不能同时进行,则如何设计合理的比赛日程,使运动会在尽可能短的时间内完成? -Question: Let the race for a total of seven projects Track Meet, respectively, 100 meters, 200 meters, high jum
