海岛Blog

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

POJ2608 ZOJ1858 UVA10260 Soundex【编码】

Soundex Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 9825   Accepted: 4893 Description Soundex coding groups together word...

2018-01-31 10:36:43

阅读数:259

评论数:0

ACM基础与精选2018

会津大学基础题AOJ0001 List of Top 3 Hills【水题】AOJ0002 Digit Number【水题】AOJ0005 GCD and LCM【GCD+LCM】AOJ0006 Reverse Sequence【堆栈+字符流】AOJ0008 Sum of 4 Integers【暴...

2018-01-31 07:54:16

阅读数:1139

评论数:0

POJ2575 ZOJ1879 UVA10038 Jolly Jumpers【序列】

Jolly Jumpers Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 17815   Accepted: 5383 Description A sequenc...

2018-01-24 08:02:58

阅读数:161

评论数:0

UVA993 Product of digits【水题+字符串排序+不排序】

For a given non-negative integer number N, find the minimal natural Q such that the product of alldigits of Q is equal N. Input The first line of inp...

2018-01-20 21:35:16

阅读数:182

评论数:4

UVA10473 Simple Base Conversion【进制转换】

In this problem you are asked to write a simplebase conversion program. You will be givena hexadecimal or decimal integer number as input.You will ha...

2018-01-20 21:00:11

阅读数:178

评论数: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

阅读数:362

评论数: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

阅读数:400

评论数: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

阅读数:573

评论数: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

阅读数:452

评论数:0

ACM-ICPC知识要点收集

一、排序  排序分为内排序和外排序两种,绝大多数的排序算法研究的是内排序。排序算法 - 维基百科,自由的百科全书Sorting algorithm - Wikipedia排序算法_百度百科Sorting - Algorithmist八大排序算法二、数据结构三、标准模板库STL四、数论Prime S...

2018-01-17 20:23:33

阅读数:159

评论数:0

UVA10104 Euclid Problem【扩展欧几里得算法】

From Euclid it is known that for any positive integers A and B there exist such integers X and Y thatAX + BY = D, where D is the greatest common divi...

2018-01-17 20:16:50

阅读数:237

评论数:0

ZOJ1256 UVA602 UVALive5474 What Day Is It?【日期】

What Day Is It? Time Limit: 2 Seconds      Memory Limit: 65536 KB The calendar now in use evolved from the Romans. Julius Caesar codified a cal...

2018-01-17 13:45:00

阅读数:334

评论数:0

HDU1308 What Day Is It?【日期】

What Day Is It? Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1380    Accepted Submissio...

2018-01-17 11:29:34

阅读数:371

评论数:0

UVA10978 Let's Play Magic!【模拟】

You have seen a card magic trick named “Spelling Bee”. The process goes as follows:   1. The magician first arranges 13 cards in a circle, as shown ...

2018-01-17 08:36:32

阅读数:481

评论数:0

POJ2121 ZOJ2311 Inglish-Number Translator【map+字符串比较+水题】

Inglish-Number Translator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 5597   Accepted: 2203 Description...

2018-01-17 00:10:13

阅读数:338

评论数:0

HDU3346 Lucky Number【进制】

Lucky Number Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3583    Accepted Submission(s...

2018-01-16 22:43:01

阅读数:165

评论数:0

UVA11038 How Many O's?题解

原文链接:http://www.algorithmist.com/index.php/User:Sweepline/UVa_11038.cpp AC的C++语言程序如下: // C++ solution for problem 11038 - "How Many 0's&...

2018-01-16 22:06:58

阅读数:148

评论数:0

UVA10978 Let's Play Magic! 题解

原文链接:http://www.algorithmist.com/index.php/User:Sweepline/UVa_10978.cpp AC的C语言程序: #include #include int main() { char card[64][64], word...

2018-01-16 21:57:39

阅读数:180

评论数:0

UVA10909 Lucky Number题解

原文链接:http://www.algorithmist.com/index.php/User:Sweepline/UVa_10909.cpp AC的C++语言程序: /* * Solution for problem 10909 'Lucky Number'. * ...

2018-01-16 21:51:46

阅读数:177

评论数:0

UVA10735 Euler Circuit题解

原文链接:http://www.algorithmist.com/index.php/User:Sweepline/UVa_10735.cpp AC的C++语言程序: /* UVa 10735: find euler tour in a mixed graph */ #in...

2018-01-16 21:47:56

阅读数:142

评论数:0

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