![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
杂类
滑头鬼之亨
Frankiller
展开
-
uva457 - Linear Cellular Automata
A biologist is experimenting with DNA modification of bacterial colonies being grown in a linear array of culture dishes. By changing the DNA, he is able ``program" the bacteria to respond to the popu原创 2012-06-03 21:03:37 · 1762 阅读 · 0 评论 -
实验二 线性表的链式表示与实现
#include#includetypedef int elemtype;typedef struct node{ elemtype data; struct node *next;}node;struct node *head;int n;void bulid1()//尾插法{ struct node *p,*q; q=head; int原创 2012-09-21 11:24:28 · 3035 阅读 · 0 评论 -
uva 11205 - The broken pedometer
The Broken Pedometer The ProblemA marathon runner uses a pedometer with which he is having problems. In the pedometer the symbols are represented by seven segments (or LEDs):But the原创 2012-07-30 11:41:27 · 1607 阅读 · 0 评论 -
uva 146 - ID Codes
ID Codes It is 2084 and the year of Big Brother has finally arrived, albeit a century late. In order to exercise greater control over its citizens and thereby to counter a chronic breakdow原创 2012-07-28 11:15:59 · 952 阅读 · 0 评论 -
uva 10591 - Happy Number
Problem CHappy NumberTime Limit1 Second Let the sum of the square of the digits of a positive integerS0 be represented by S1. In a similar way, let the sum of the s原创 2012-08-06 16:43:50 · 1015 阅读 · 0 评论 -
uva 11044 - Searching for Nessy
Searching for Nessy The Loch Ness Monsteris a mysterious and unidentified animal said to inhabit Loch Ness, a large deep freshwater loch near the city of Inverness in northern Scotland原创 2012-06-16 11:34:01 · 921 阅读 · 0 评论 -
uva 10970 - Big Chocolate
Big ChocolateMohammad has recently visited Switzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fine chocolate is very expensive(You know Mohammad i原创 2012-06-16 10:38:29 · 899 阅读 · 0 评论 -
uva 591 - Box of Bricks
Box of Bricks Little Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look, I've built a wall!'', he tells his older sis原创 2012-06-15 12:52:03 · 611 阅读 · 0 评论 -
uva 573 - The Snail
The Snail A snail is at the bottom of a 6-foot well and wants to climb to the top. The snail can climb 3 feet while the sun is up, but slides down 1 foot at night while sleeping. The snail h原创 2012-06-15 21:05:32 · 1103 阅读 · 0 评论 -
uva 10161 - Ant on a Chessboard
Problem A.Ant on a Chessboard Background One day, an ant called Alice came to an M*M chessboard. She wanted to go around all the grids. So she began to walk along the chessboard acco原创 2012-06-14 15:05:31 · 647 阅读 · 0 评论 -
uva 152 - Tree's a Crowd
Tree's a Crowd Dr William Larch, noted plant psychologist and inventor of the phrase ``Think like a tree--Think Fig'' has invented a new classification system for trees. This is a complicate原创 2012-06-09 18:11:47 · 664 阅读 · 0 评论 -
uva340 - Master-Mind Hints
MasterMind is a game for two players. One of them, Designer, selects a secret code. The other,Breaker, tries to break it. A code is no more than a row of colored dots. At the beginning of a game, the原创 2012-06-09 10:18:58 · 2616 阅读 · 0 评论