Shut the Box is a simple diversion written in C and GTK+. The object is simple: Roll the dice and click the tiles that sum up to that dice roll until there are no more tiles to click.
上传时间: 2014-12-03
上传用户:天涯
学生成绩查询系统,运用结构体,struct ,sort ,Clrscr(),textcolor()函数,用for()循环语句,switch和ifelse作为条件测试语句。 程序实现了学生成绩查询功能,有20个我们班学生的数据信息,每个包含: 学号 — num [10](字符串)、姓名(拼音)— name[25](字符串)、 性别 — sex(字符,M或W)、年龄 — age(整型)、 三门课程成绩(高数、英语、计算机)— score [3 ](单精度)。设计一个系统: 定义及输出。用结构体类型数据及其赋初值的方法把学生的数据送到结构体数组中(第一个数据用自己的真实数据,其它数据自定,但注意要是合法数据),然后把它们输出显示;计算并排序。计算每个学生三门课程的总分(sum,单精度)及平均分(aver,单精度,输出一位小数),还有他们成绩的排名,将包括所有数据的结构体数组元素按总分从大到小的顺序排序打印出来; 运行程序,进入主界面!可输入1—输出所有学生的成绩,输入2—计算和排列学生的成绩,输入3—查询学生个人成绩,输入4—退出查询。 在进行学生个人成绩个人查询可以实现多次查询——进入学生个人查询,输入1回车实现多次查询。 运行环境为TURBOC ,WINDOWSXP。
标签: 成绩查询系统
上传时间: 2014-01-01
上传用户:cx111111
spoj CCOST . Usage of a 2 dimensional fenwick tree.Querying (log(n)^2) a 2 dimensional matrix for sub sum and updating a cell in O(logn)
标签: dimensional Querying fenwick matrix
上传时间: 2017-03-02
上传用户:chfanjiang
Genetic Algorithm example using Java You have 10 cards numbered 1 to 10. You have to divide them into 2 piles so that: The sum of the first pile is as close as possible to 36 and the product of all in second pile is as close as poss to 360.
标签: have Algorithm You numbered
上传时间: 2017-03-08
上传用户:lacsx
NN Functions a program in Lisp to demonstrate working of an artificial neuron. (Enter an input vector X and weight vector W. Calculate weighted sum XW. Transform this using signal or activation functions like logistic, threshold, hyperbolic-tangent, linear, exponential, sigmoid or some other functions (syntax provided) and display the output).
标签: demonstrate artificial Functions program
上传时间: 2013-12-30
上传用户:hfmm633
ADIAL Basis Function (RBF) networks were introduced into the neural network literature by Broomhead and Lowe [1], which are motivated by observation on the local response in biologic neurons. Due to their better approximation capabilities, simpler network structures and faster learning algorithms, RBF networks have been widely applied in many science and engineering fields. RBF network is three layers feedback network, where each hidden unit implements a radial activation function and each output unit implements a weighted sum of hidden units’ outputs.
标签: introduced literature Broomhead Function
上传时间: 2017-08-08
上传用户:lingzhichao
Solve the 8-puzzle problem using A * algorithme. Input: Program reads start state and goal state and heuristic (N or S) from EightPuzzle.INP file.0 representing blank. There are 2 Heuristic: 1. N: Number of misplaced tiles 2. S: sum of Manhattan distance of current location and target location. Format: The first line write type of heuristic (N or S). Next is the status of departing and landing status. Between 2 states of 1 line blank. See examples EightPuzzle.INP
标签: state algorithme Program problem
上传时间: 2017-08-12
上传用户:jjj0202
第一章JSP简介 例子1(效果如图1.1所示) Example1_1.jsp: < @ page contentType="text/html charset=GB2312" > <HTML> <BODY BGCOLOR=cyan> <FONT Size=1> <P>这是一个简单的JSP页面 < int i, sum=0 for(i=1 i<=100 i++) { sum=sum+i } >
标签: contentType Example charset 2312
上传时间: 2017-08-31
上传用户:zycidjl
Java的面向对象编程 掌握类的定义以及继承机制,熟悉方法的多态性。1、 成下面父类及子类的声明:(1)声明Student类。属性包括学号、姓名、英语成绩、数学成绩、计算机成绩和总成绩。方法包括构造方法、get方法、set方法、toString方法、equals方法、compare方法(比较两个学生的总成绩,结果分大于、小于、等于)、sum方法(计算总成绩)和testScore方法(计算评测成绩,即平均成绩
上传时间: 2017-09-12
上传用户:ecooo
记录学生的信息 :(1)声明Student类。属性包括学号、姓名、英语成绩、数学成绩、计算机成绩和总成绩。方法包括构造方法、get方法、set方法、toString方法、equals方法、compare方法(比较两个学生的总成绩,结果分大于、小于、等于)、sum方法(计算总成绩)和testScore方法(计算评测成绩,即平均成绩)。
标签: toString Student equals compa
上传时间: 2014-11-21
上传用户:q123321