资源列表
[数学计算/工程计算] SDAFGDFHFDG
说明:题目:编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数 1/1+1/3+...+1/n(利用指针函数) 1.程序分析: 2.程序源代码:-Topic: write a function, input n is even, a function call for 1/2+ 1/4+...+ 1/n, when the input n an odd number, a f<崔嬴> 在 2025-03-11 上传 | 大小:2kb | 下载:0
[数学计算/工程计算] MHJGHJGJGHFJ
说明:题目:有n个人围成一圈,顺序排号。从第一个人开始报数(从1到3报数),凡报到3的人退出 圈子,问最后留下的是原来第几号的那位。 1. 程序分析: 2.程序源代码:-Topic: a n personal round into 1 turn, PaiHao order. From the first man began to count off (from 1 to 3 number off), all three o<崔嬴> 在 2025-03-11 上传 | 大小:2kb | 下载:0
[数据结构常用算法] GHKJGHKGHKK
说明:题目:有n个整数,使其前面各数顺序向后移m个位置,最后m个数变成最前面的m个数 1.程序分析: 2.程序源代码:-Topic: a n integer, make its front the order number back ward m a position, finally m number into the most in front of the number of m 1. The program analysi<崔嬴> 在 2025-03-11 上传 | 大小:2kb | 下载:0
[数据结构常用算法] KKHKHKHGKHJK
说明:题目:输入数组,最大的与第一个元素交换,最小的与最后一个元素交换,输出数组。 1.程序分析:谭浩强的书中答案有问题。 2.程序源代码:-Topic: input arrays, and the biggest and the first element exchange, the smallest and the last element exchange, output array. 1. The progra<崔嬴> 在 2025-03-11 上传 | 大小:2kb | 下载:0
[数值算法/人工智能] arithmetic-operation
说明:arithmetic operation<liaoyilin> 在 2025-03-11 上传 | 大小:2kb | 下载:0
[数据结构常用算法] OUIOUIOUIOU
说明:题目:对10个数进行排序 1.程序分析:可以利用选择法,即从后9个比较过程中,选择一个最小的与第一个元素交换, 下次类推,即用第二个元素与后8个进行比较,并进行交换。 2.程序源代码: -Title: the number of 10 sorting 1. The program analysis: can use the choice method, that is, from nin<崔嬴> 在 2025-03-11 上传 | 大小:2kb | 下载:0
[数据结构常用算法] KHKKUYKYUK
说明:题目:请输入星期几的第一个字母来判断一下是星期几,如果第一个字母一样,则继续 判断第二个字母。 -Title: the number of 10 sorting 1. The program analysis: can use the choice method, that is, from nine after process more, choose a minimal and the first element<崔嬴> 在 2025-03-11 上传 | 大小:3kb | 下载:0