搜索资源列表
hcbus
- 巴士(公交)换乘查询系统一个基于php设计的公交查询系统 本系统查询不经过数据库,而是直接把线路数据存储于数组 通过php众多内置数组函数,其查询速度比普通数据库查询的快3倍以上 本系统前台还有具有ajax自动提示特效,只要输入站点名字的一两个字,就能自动提示输入站点全称 -Bus (bus) Transfer Inquiry System design based on php query system bus without passing through the system
2
- 若矩阵Am?n中的某一元素A[i][j]是第i行中的最小值,同时又是第j列中的最大值,则称此元素为该矩阵的一个鞍点。假设以二维数组存放矩阵,试编写一个函数,确定鞍点在数组中的位置(若鞍点存在时),并分析该函数的时间复杂度。 -If the matrix Am? N of an element A [i] [j] is the minimum value of the i-th row, is also the maximum value of the j-th column in the,
01
- 通过调用随机函数给5*6的二维数组元素赋值10-40内的整数,并求出每行元素的平均值并输出-By calling random function to the 5* 6, a two-dimensional array elements assignment integer within 10-40, and obtaining the average value of each line element and outputs
c
- 编写一个函数saver(a,n),其中a是一维整型数组,n是a数组的长度,要求通过全局变量pave和nave将a数组中正数的平均值和负数的平均值传递给调用程序-Write a function saver (a, n), where a one-dimensional array of integers, n is the length of an array of a request by the global variable pave and nave will mean a array
1f
- 1、输入:函数input把20学生的学号、姓名、性别、年龄、三科成绩以及平均成绩和总成绩放在一个结构体数组中,学生的学号、姓名、三科成绩由键盘输入,然后计算出平均成绩和总成绩放在结构体对应的域中。 注意:函数应有两个参数,结构体类型的数组以及学生的人数 保存:save函数把数组里的学生信息写入文件,关闭文件。3、插入:insert 函数输入一个学生的记录,按学号的先后顺序插入该学生的全部内容。4、排序:sort函数对所有学生按要求排序(1.学号 2.总成绩 ),并输出。 注意:
