搜索资源列表
queen
- 超牛的8皇后程序,整个程序只有短短的10行,而且是按标准格式,控制台上输出的格式也是符合美观条件的-8, Queen' s super-cow program, the whole process is only a short span of 10 lines, and is based on a standard format, the format of the console output is also in line with the conditions of appeara
avltree__C
- 这个avltree代码不是我编写的,是一个大牛编写的,用它来学习一下avltree很不错。里边的代码注释很清晰!-I did not write this avltree code is written in a large cow, use it to learn about avltree very good. Very clear inside the code comments!
program-3
- 压缩包包含三个程序 分别是动态规划解奶牛家谱问题,普里姆算法求最小生成树,回溯法解决24点问题-Package contains three programs are the problem of dynamic programming solutions cow family tree, Prim for the Minimum Spanning Tree, backtracking to solve the problem 24 points
main
- 母牛生小牛问题 设有一头小母牛,从出生第四年起每年生一头小母牛,按此规律,第N年时有几头母牛? 输入: 本题有多组数据。每组数据只有一个整数N,独占一行。(1≤N≤50) 输出: 对每组数据,输出一个整数(独占一行)表示第N年时母牛的数量 -Cow health problems with a calf heifers, from birth each year, starting the fourth year students a small cow, here
jiniunai
- 背景 三个农民每天清晨5点起床,然后去牛棚给3头牛挤奶。第一个农民在300时刻(从5点开始计时,秒为单位)给他的牛挤奶,一直到1000时刻。第二个农民在700时刻开始,在 1200时刻结束。第三个农民在1500时刻开始2100时刻结束。期间最长的至少有一个农民在挤奶的连续时间为900秒(从300时刻到1200时刻),而最长的无人挤奶的连续时间(从挤奶开始一直到挤奶结束)为300秒(从1200时刻到1500时刻)。 你的任务是编一个程序,读入一个有N个农民(1 <= N <
whoisthemiddle
- FJ在调查他的奶牛的平均产奶量,他想知道奶牛的产奶量的最中间数,即:一半的奶牛的产奶量比这个中间数多(或者少),另外的一半则刚好相反。 给出一个奇数,表示奶牛的数量N(范围为:1<=N<10000),同时要给出每头奶牛的产奶量,然后找出来最中间的产奶量,这个数也表示大多数的奶牛的产奶量跟这个数差不多。我要做的就是讲输入的这些数进行排序,然后将排序后中间的那个数输出来。 -FJ is surveying his herd to find the most average cow