算法设计实验编程
文章平均质量分 86
sunnykema
这个作者很懒,什么都没留下…
展开
-
poj 2234 matches game
Matches GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8880 Accepted: 5129DescriptionHere is a simple game. In this game, there are several piles原创 2015-01-27 22:10:44 · 385 阅读 · 0 评论 -
uva 10976 - Fractions Again?!
Fractions Again?!Timelimit: 1 secondIt is easy to see that for every fraction in the form (k > 0), we can always find two positive integersx andy, x ≥ y, such that:.Now原创 2015-02-11 23:23:36 · 333 阅读 · 0 评论 -
uva 10931 - Parity
ParityTime Limit: 1 secondWe define the parity of an integer n as the sum of the bits in binary representationcomputed modulo two. As an example, the number21 = 101012 has three 1sin its b原创 2015-02-11 22:58:11 · 406 阅读 · 0 评论 -
uva 10929 - You can say 11
You can say 11Time Limite: 1 secondIntroduction to the problemYour job is, given a positive number N, determine if it is a multiple of eleven.Description of the inputThe input is a f原创 2015-02-11 22:56:10 · 374 阅读 · 0 评论 -
poj Prerequisites?
Prerequisites?Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 3681 Accepted: 2307DescriptionFreddie the frosh has chosen to take k courses. To meet th原创 2015-02-08 22:03:51 · 366 阅读 · 0 评论 -
UVA 10921 Find the Telephone
Problem B - Find the TelephoneTime Limit: 1 secondIn some places is common to remember a phone number associating its digits to letters.In this way the expressionMY LOVE means 69 5683. Of原创 2015-02-08 22:39:24 · 636 阅读 · 0 评论 -
poj 2608 Soundex
SoundexTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9423 Accepted: 4683DescriptionSoundex coding groups together words that appear to sound alike b原创 2015-01-30 22:38:44 · 440 阅读 · 0 评论 -
poj 2612 Mine Sweeper
Mine SweeperTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6454 Accepted: 2511DescriptionThe game Minesweeper is played on an n by n grid. In this gr原创 2015-01-30 22:41:09 · 361 阅读 · 0 评论 -
poj 2361 Tic Tac Toe
Tic Tac ToeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2095 Accepted: 777DescriptionTic Tac Toe is a child's game played on a 3 by 3 grid. One pla原创 2015-01-30 22:45:05 · 953 阅读 · 0 评论 -
HDU 2602 Bone Collector
Bone CollectorTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescriptionMany years ago , in Teddy’s hometown there was a man who was called “Bone Collector”.原创 2015-01-30 22:51:24 · 282 阅读 · 0 评论 -
poj 2339 Rock, Scissors, Paper
Rock, Scissors, PaperTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 3845 Accepted: 2245DescriptionBart's sister Lisa has created a new civilization o原创 2015-01-30 22:48:36 · 494 阅读 · 0 评论 -
poj 2538 WERTYU
WERTYUTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8530 Accepted: 4087Description A common typing error is to place the hands on the keyboard one原创 2015-01-28 20:59:36 · 345 阅读 · 0 评论 -
poj 1528 perfection
PerfectionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 11397 Accepted: 5402DescriptionFrom the article Number Theory in the 1994 Microsoft Encarta:原创 2015-01-28 20:56:09 · 376 阅读 · 0 评论 -
hdu 1590 Bridging signals
Bridging signalsTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescription'Oh no, they've done it again', cries the chief designer at the Waferland chip fact原创 2015-01-28 21:01:35 · 351 阅读 · 0 评论 -
poj 1597 Uniform Generator
Uniform GeneratorTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5264 Accepted: 2475DescriptionComputer simulations often require random numbers. One原创 2015-01-28 20:58:02 · 358 阅读 · 0 评论 -
poj 1852 ants
AntsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 10577 Accepted: 4684DescriptionAn army of ants walk on a horizontal pole of length l cm, each with原创 2015-01-27 21:44:45 · 334 阅读 · 0 评论 -
uva 10922 - 2 the 9s
2 the 9sTime Limit: 1 secondIntroduction to the problemA well-known trick to know if an integer N is a multiple of nine is to compute the sum S of its digits. If S is a multiple of nine, t原创 2015-02-11 22:51:23 · 418 阅读 · 0 评论