北京大学ACM比赛题目 Write a program to read four lines of upper case (i.e., all CAPITAL LETTERS) text input (no more than 72 characters per line) from the input file and print a vertical histogram that shows how many times each letter (but not blanks, digits, or punctuation) appears in the all-upper-case input. Format your output exactly as shown.
资源简介:北京大学ACM比赛题目 Write a program to read four lines of upper case (i.e., all CAPITAL LETTERS) text input (no more than 72 characters per line) from the input file and print a vertical histogram that shows how many times each letter (but...
上传时间: 2014-01-17
上传用户:410805624
资源简介:北京大学ACM比赛题目 In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture: Every even number greater than 4 can be written as the sum of two odd prime n...
上传时间: 2016-04-22
上传用户:wangchong
资源简介:北京大学ACM比赛题目 Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we can get the minimum number in this subtree by repeating going down th...
上传时间: 2013-12-16
上传用户:日光微澜
资源简介:Write a program to decide if a graph has a cycle or not. The given graph can be a directed or undirected graph, which is indicated at the time of reading the input (0 for directed graph and 1 for undirected graphs). The input is given as an...
上传时间: 2013-12-23
上传用户:cursor
资源简介:Write a program to display palindrome series
上传时间: 2013-12-20
上传用户:大三三
资源简介:北京大学ACM比赛题 The game of Scrabble is played with tiles. A tile either has a single letter written on it, or it is blank. In the latter case, the tile may be used to represent a letter of your choice. On your turn, you arrange the tile...
上传时间: 2016-04-22
上传用户:dancnc
资源简介:This project asks you to Write a program that allows you to specify an initial configuration. The program follows the rules of Life (listed shortly) to show the continuing behavior of the configuration.
上传时间: 2013-12-29
上传用户:aig85
资源简介:北京大学ACM题 Here is a geometric problem. You have an angle and some squares in the first quadrant of the plane rectangular coordinates. The vertex of the angle is fixed on the origin O of the coordinates, and both of its radial lines a...
上传时间: 2013-12-25
上传用户:ynzfm
资源简介:Library of C functions that allows a program to use WinSock 2 functionality if it is available or fall back to WinSock 1.1 if it isn t.
上传时间: 2015-01-18
上传用户:LIKE
资源简介:apriori java 实现 * A program to find association rules with the apriori algorithm (Agrawal et al. 1993).<br> * Other than the standard apriori algorithm, this program enable to find<br> * apriori all relation.
上传时间: 2013-12-21
上传用户:s363994250
资源简介:Life32 is a program to animate an manipulate cellulair automa akin to Conway s Game of Life (GoL). 一个国外模拟生命细胞活动的小程序,我到现在还是搞得不是很懂,大家看看吧
上传时间: 2015-04-15
上传用户:wanqunsheng
资源简介:This a program to implement the so-called "dancing link" which is introduced in Knuth s paper. This is really a super acrobatic and I am sure that not many programmers can understand the algorithms.
上传时间: 2013-12-11
上传用户:784533221
资源简介:A program to find frequent molecular substructures and discriminative fragments in a database of molecule descriptions. The algorithm is based on the Eclat algorithm for frequent item set mining.
上传时间: 2014-01-20
上传用户:龙飞艇
资源简介:A program to demonstrate the optimization process of particle swarm optimization. A two-dimensional objective function is visualized by level of grey: the lighter the color, the higher the function value. The particles are shown as red circ...
上传时间: 2013-12-22
上传用户:Andy123456
资源简介:A program to demonstrate the optimization process of ant colony optimization for the traveling saleman problem (TSP). The cities are shown as red circles, the pheromone on the connections between them (fully connected graph) by gray lines. ...
上传时间: 2015-07-12
上传用户:偷心的海盗
资源简介:A program to find frequent itemsets (also closed and maximal) with the eclat algorithm ,which carries out a depth first search on the subset lattice and determines the support of itemsets by intersecting transaction lists.
上传时间: 2013-12-27
上传用户:ouyangtongze
资源简介:You will Write a program for calculating person s Body Mass Index (BMI). The following formula is used: bmi = weight / length² , where weight is in kilograms and length is in meters.
上传时间: 2013-12-09
上传用户:qq521
资源简介:加载数据库的程序。 This is a program to load the sql file.
上传时间: 2013-12-25
上传用户:jeffery
资源简介:Quad Tree Bit Plane Compression. A program to compress images. Qbit is an image viewer that loads and saves it s own imge format as well as loading various Sun Raster File, Targa and Bitmap files.
上传时间: 2014-01-10
上传用户:大融融rr
资源简介:This is a program to calculate the Photonic Bands of two dimension Photonic Crystal with circular inclusions. It calculates both TE and TM modes (E and H polarization).
上传时间: 2015-10-08
上传用户:1427796291
资源简介:There is a shared object – int array[] between Write and Read. Write sets the array, Read gets the array and sorts ascending. Write a program to implement the Write/read question by using synchronization mechanism and GUI.
上传时间: 2016-02-02
上传用户:playboys0
资源简介:FIR2LIFT is a program to factor a wavelet FIR filter pair into lifting steps.
上传时间: 2016-02-04
上传用户:大三三
资源简介:this a program to show your current credits for add or drop subjects. During university, students need to register what subjects they want to study in a semester. this program show and help to calculate the credits.
上传时间: 2016-03-31
上传用户:小眼睛LSL
资源简介:4. Write a program that sorts three integers. The integers are entered from the console and stored in variables num1, num2 and num3, respectively. The program sorts the numbers so that num1 <= num2 <= num3.
上传时间: 2016-05-05
上传用户:龙飞艇
资源简介:这是个反向工程delphi的程序的全部源代码.能分析几乎所有的结构 Revendepro is a program to reverse engineer Delphi program. Revendepro finds almost all structures (classes, types, procedures, etc) in the program, and generates the pascal repre...
上传时间: 2016-07-21
上传用户:songrui
资源简介:A program to demonstrate a method returning an array.
上传时间: 2016-08-11
上传用户:JIUSHICHEN
资源简介:A C++ program to show an example of Hashing using Mid-Square Method. 应用Mid-Square理论的哈希算法
上传时间: 2014-01-04
上传用户:familiarsmile
资源简介:this is a program to analysis cp cpk you can transfor data to the program
上传时间: 2013-12-21
上传用户:libenshu01
资源简介:Produce a Java program to calculate the value of π in two different methods proposed by Francois Vieta and John Wallis. Design and implement a super-class Estimation two sub-classes (FrancoisVieta and JohnWallis) and an application class.
上传时间: 2013-12-27
上传用户:84425894
资源简介:program to read a number
上传时间: 2013-12-20
上传用户:bcjtao