北京大學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