海岛Blog

海是无垠的,岛在海中是独立的,有一片自己的天空

POJ2509 UVA10346 Peter's Smokes【模拟】

Peter's smokesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 18097 Accepted: 7441DescriptionPeter has n cigarettes. He smokes them one by ...

2018-05-05 04:10:27

阅读数:92

评论数:0

UVA10800 Not That Kind of Graph【模拟+绘图】

“You know, it’s all very sweet, stealing from therich, selling to the poor...”Jose Molina, "Firefly."  Your task is to graph the pr...

2018-05-04 15:44:21

阅读数:44

评论数:0

POJ4001 HDU4121 UVA1589 UVALive5829 Xiangqi【模拟+回溯】

XiangqiTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1791 Accepted: 444DescriptionXiangqi is one of the most popular two-player board gam...

2018-04-29 06:40:32

阅读数:88

评论数:0

UVA10196 Check The Check【模拟+回溯】

Your task is to write a program that reads a chess board configuration and answers if there’s a king under attack (i.e. “in check”). A king is in che...

2018-04-28 00:02:09

阅读数:65

评论数:0

UVA12657 Boxes in a Line【模拟】

You have n boxes in a line on the table numbered 1 . . . n from left to right. Your task is to simulate 4 kinds of commands:    • 1 X Y : move box X ...

2018-04-05 23:44:17

阅读数:44

评论数:0

POJ2246 HDU1082 ZOJ1094 UVA442 Matrix Chain Multiplication【模拟】

Matrix Chain MultiplicationTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2607 Accepted: 1585DescriptionSuppose you have to evaluate an ex...

2018-04-05 22:00:44

阅读数:43

评论数:0

UVA210 UVALive5149 Concurrency Simulator【模拟】

Programs executed concurrently on a uniprocessor system appear to be executed at the same time, but in reality the single CPU alternates between the ...

2018-04-05 21:47:02

阅读数:31

评论数:0

UVA11636 Hello World!【模拟】

When you first made the computer to print the sentence “Hello World!”, you felt so happy, not knowing how complex and interesting the world of progra...

2018-04-01 23:13:34

阅读数:44

评论数:0

POJ2556 HDU1033 ZOJ1982 Edge【水题+模拟】

EdgeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1341 Accepted: 914DescriptionFor products that are wrapped in small packings it is nece...

2018-03-23 18:56:21

阅读数:57

评论数:0

UVA120 Stacks of Flapjacks【排序模拟】

Stacks and Queues are often considered the bread and butter of data structures and find use in architecture, parsing, operating systems, and discrete...

2018-02-23 06:19:16

阅读数:115

评论数:0

ZOJ1881 Interpreter【模拟】

InterpreterTime Limit: 2 Seconds      Memory Limit: 65536 KBA certain computer has 10 registers and 1000 words of RAM. Each register or RAM location ...

2018-02-22 20:23:53

阅读数:93

评论数:0

POJ2577 Interpreter【模拟】

InterpreterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2186 Accepted: 742DescriptionA certain computer has 10 registers and 1000 words ...

2018-02-22 20:20:41

阅读数:96

评论数:0

UVA10033 Interpreter【模拟】

A certain computer has 10 registers and 1000 words of RAM. Each register or RAM location holds a 3-digit integer between 0 and 999. Instructions are ...

2018-02-22 19:48:36

阅读数:130

评论数:0

UVA10267 Graphical Editor【模拟】

The simple graphical editor deals with a rectangular table M × N (1 ≤ M, N ≤ 250). Each pixel of the table has its colour. The picture is formed from...

2018-02-22 09:12:06

阅读数:216

评论数:0

UVA11150 Cola【数学】

You see the following special offer by the convenience store:“A bottle of Choco Cola for every 3 empty bottles returned”  Now you decide to buy some ...

2018-02-16 00:13:09

阅读数:352

评论数:0

UVA694 UVALive5466 The Collatz Sequence【模拟】

An algorithm given by Lothar Collatz produces sequences of integers, and is described as follows:Step 1: Choose an arbitrary positive integer A as th...

2018-02-08 07:56:40

阅读数:208

评论数:0

UVA371 UVALive5343 Ackermann Functions【模拟+最值】

An Ackermann function has the characteristic that the length of the sequence of numbers generatedby the function cannot be computed directly from the...

2018-01-20 18:29:55

阅读数:303

评论数:0

UVA10409 ZOJ1667 Die Game【模拟】

Life is not easy. Sometimes it is beyond your control. Now, as contestantsof ACM ICPC, you might be just tasting the bitter of life. But don’t worry!...

2018-01-20 16:54:35

阅读数:254

评论数:0

UVA10935 Throwing cards away I【模拟+queue+循环队列】

Given is an ordered deck of n cards numbered 1to n with card 1 at the top and card n at the bottom. The following operation is performed as long as t...

2018-01-20 02:46:00

阅读数:362

评论数:0

UVA11530 SMS Typing【模拟+map+查表】

Cell phones have become an essential part of modern life. In addition tomaking voice calls, cell phones can be used to send text messages, whichare k...

2018-01-19 22:01:11

阅读数:270

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭