搜索资源列表
jasonkingde
- 排序及应用 题目一:统计成绩 1. 实验目的:掌握常用的排序方法,深刻理解排序的定义和各种排序方法的特点,并能灵活应用。 2. 实验内容: (1) 输入n个学生的考试成绩,每个学生信息由姓名与分数组成; (2)选择一种排序算法,按分数高低次序,打印出每个学生的名次,分数相同的为同一名次。 (3)按名次给出每个学生的姓名与分数。 3. 实验要求:任选一种高级程序语言编写源程序,并调试通过,测试正确。 题目二:按字典顺序排序 1. 实验目的:掌握常用的排序方
CPP1 顺序表的基本操作实现实验
- 一、顺序表的基本操作实现实验 要求:数据元素类型ElemType取整型int。按照顺序存储结构实现如下算法: 1)创建任意整数线性表(即线性表的元素值随机在键盘上输入)的顺序存储结构(即顺序表),长度限定在25之内; 2)打印/显示(遍历)该线性表(依次打印/显示出表中元素值); 3)在顺序表中查找第i个元素,并返回其值; 4)在顺序表第i个元素之前插入一已知元素; 5)在顺序表中删除第i个元素; 6)求顺序表中所有元素值(整数)之和; 二、链表(
HanoiTowerSequence
- 题目大意: 经典的汉诺塔 n个盘编号,从小到大 1..n 问:移动的序列中第k步移的是哪个盘 -Input The first line of the input file is T, the number of test cases. Each test case contains one integer p (1<=p<10^100). Output Output the pth e
Harris-corner-detector
- Harris detector The code calculates the Harris Feature Points When you execute the code, the test image file opened and you have to select by the mouse the region where you want to find the Harris points, then the code will print out and display th
FiveDirectionPad_Algo
- 此作業需使用Backtracking algorithm 從第一格開始,從1到9依序測試是否可以填入,若本來此格已有數字,則直接往下一格走。若可以填入( if(promising()) )則填入該數字並且往下一格移動繼續填,若此格沒有可填入的數字時,則結束該格的動作,回到上一格去測試剩下的可能結果。若已經填完( if(solution is found) ),則可能解+1,然後回到前面再繼續尋找接下來的可能解。直到全部可能的數字組合都試完之後,程式結束,所有可能解的個數也會被找到。需要印出的
my-CPP
- 假设某销售公司有销售经理和销售员工,月工资的计算办法是:销售经理的固定月薪为8000元并提取销售额的5/1000作为工资;销售员工只提取销售额的5/1000作为工资。编一程序,定义一个基类Employee,它包含三个数据成员number、name和salary,以及用于输入编号和姓名的构造函数。由Employee类派生Salesman类,再由Salesman类派生Salesmanager类。Salesman类包含两个新数据成员 commrate和sales,还包含用于输入销售额并计算销售员工工资
Netcdf_f90
- 读取netCDF格点资料的Fortran测试程序,通过读取指定netCDF文件,生成相应的Fortran源代码- Test program to read any netCDF file. by Barry Schwartz October 1993
Xiao5u_Exam_v2.0
- 系统主要功能: 1、设置基本考试系统信息(开通/关闭考试等) 2、自动化提交试卷,智能判断学生是否重复提交 3、支持题型:选择题,判断题,填空题,问答题 4、试题库导入、导出功能 5、支持客观题自动阅卷,统计总分,并统计排名 6、生成成绩分析报表和打印功能 -The main function of the system: 1 set basic examination system (open/close examination) 2, automatic to
sparsematrix
- 求解大型对称或非对称方程组,采用稀疏矩阵存储及求解算法,在电力系统仿真分析软件中得到应用-Sparse1.3 is a flexible package of subroutines written in C used to quickly and accurately solve large sparse systems of linear equations. The package is able to handle arbitrary real and complex
1341
- 有一个N*N的字符矩阵,从上到下依次记为第1行,第2行,……,第N行,从左至右依次记为第1列,第2列,……,第N列。 对于这个矩阵会进行一系列操作,但这些操作只有两类: (1) R: 将矩阵逆时针旋转90度; (2) P x y: 将此时第x行第y列的字符打印出来,其中1 <= x, y <= N。 输入数据的第一行包含一个整数T (1 <= T <= 20),表示接下来一共有T组测试数据。 对于每组测试数据,第一行包含一个整数N (1
task
- Python入门练习,Question 2: buyLotsOfFruit function Add a buyLotsOfFruit(orderList) function to buyLotsOfFruit.py which takes a list of (fruit,pound) tuples and returns the cost of your list. If there is some fruit in the list which doesn t appear in
CRSEModels
- 空间面板,直接和间接效应,LM检验,包括例子,代码等等。-The demo contains files to estimate all spatial econometric models based on an exact calculation of the Jacobian term in the log_likelihood function. Supporting files to print the results, to calculate (robust) LM-test st
sgu262
- sgu262:Symbol Recognition(状压DP) 题目大意: 给出k个n∗ m的01矩阵Si,求出一个1尽量少的n∗ m的01矩阵P,满足k个矩阵与该矩阵的交互不相同,也就是说通过该矩阵能表示出给出的k个矩阵。-262. Symbol Recognition time limit per test: 0.25 sec. memory limit per test: 65536 KB input: standard output:
count_every_word
- 对一篇文档中的单词进行统计,并将单词出现的频率由高到低进行排列,并打印,便于对一篇文章高频词汇进行统计,非常实用,并通过测试-Statistics on the word in a document, and the frequency of the word appears to be arranged by the high to low, and print, easy to a high frequency vocabulary for statistics, very practica
