- 博客(41)
- 收藏
- 关注
原创 UVa-712-S-Trees
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 2. Data Structures :: Binary Trees
2014-10-23 13:24:31 385
原创 UVa-409-Excuses, Excuses!
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving ::String
2014-09-28 15:42:05 348
原创 UVa-674-Coin Change
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 5. Dynamic Programming
2014-09-27 12:28:12 356
原创 UVa-10763-Foreign Exchange
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 4. Algorithm Design
2014-09-25 17:09:44 504
原创 UVa-10714-Ants
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 4. Algorithm Design
2014-09-25 00:05:28 317
原创 UVa-10341-Solve It
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 4. Algorithm Design
2014-09-24 22:54:43 327
原创 UVa-133-The Dole Queue
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 2. Data Structures :: Lists
2014-09-18 10:19:20 263
原创 UVa-11234-Expressions
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 2. Data Structures :: Lists
2014-09-17 11:42:25 369
原创 UVa-10487-Closest Sums
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 4. Algorithm Design
2014-09-14 11:42:18 331
原创 UVa-10815-Andy's First Dictionary
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: String
2014-08-23 17:19:26 406
原创 UVa-537-Artificial Intelligence?
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: String// 537 - Artificial Intelligence?#include #include #include #include using namespace s
2014-08-22 17:11:24 554
原创 UVa-10115-Automatic Editing
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: String
2014-08-22 16:05:30 289
原创 UVa-10010-Where's Waldorf?
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: String
2014-08-22 08:49:49 436
原创 UVa-10361-Automatic Poetry
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: String
2014-08-21 10:47:14 357
原创 UVa-11205-The broken pedometer
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 3. Brute Force :: Elementary Skills
2014-08-17 15:15:44 342
原创 UVa-729-The Hamming Distance Problem
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 3. Brute Force :: Elementary Skills
2014-08-16 16:18:25 387
原创 UVa-10098-Generating Fast
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 3. Brute Force :: Elementary Skills// 10098 - Generating Fast#include #include #include using namespace std;int main(void)
2014-08-16 11:51:27 326
原创 UVa-146-ID Codes
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 3. Brute Force :: Elementary Skills// 146 - ID Codes#include #include #include using namespace std;int main(void){ char i
2014-08-16 10:33:06 328
原创 UVa-10050-Hartals
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 2. Data Structures :: Lists
2014-08-16 09:07:34 329
原创 UVa-673-Parentheses Balance
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 2. Data Structures :: Lists
2014-08-15 10:20:08 459
原创 UVa-10161-Ant on a Chessboard
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: Maths - Misc
2014-08-12 15:50:16 374
原创 UVa-113-Power of Cryptography
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: Maths - Misc
2014-08-12 15:11:32 368
原创 UVa-644-Immediate Decodability
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: String
2014-08-11 16:36:37 258
原创 UVa-10878-Decode the tape
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: String
2014-08-11 15:40:12 337
原创 UVa-156-Ananagrams
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving ::Sorting/Searching
2014-08-11 11:10:17 237
原创 UVa-401-Palindromes
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving ::String
2014-08-10 16:03:12 374
原创 UVa-10420-List of Conquests
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving ::Sorting/Searching
2014-08-09 17:44:43 344
原创 UVa-10474-Where is the Marble?
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving ::Sorting/Searching
2014-08-09 17:39:44 364
原创 UVa-299-Train Swapping
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving ::Sorting/Searching
2014-08-09 17:39:36 299
原创 UVa-748-Exponentiation
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: Big Number
2014-08-09 17:35:42 370
原创 UVa-10106-Product
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: Big Number
2014-08-09 17:32:18 468
原创 UVa-424-Integer Inquiry
AOAPC I: Beginning Algorithm Contests (Rujia Liu) :: Volume 1. Elementary Problem Solving :: Big Number
2014-08-09 17:26:08 273
原创 UVa-Getting Started
// 10055 - Hashmat the Brave Warrior#include using namespace std;int main(void){ long a, b; // The input numbers are not greater than 2^32 while(cin >> a >> b) cout b ? a-b:b-a) << endl; // or
2014-08-07 16:12:55 299
原创 算法竞赛入门经典-第五章源代码
// 程序5_1_1 WERTYU#include const char* s = "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./"; //常量数组int main(void){ int i, c; while((c=getchar()) != EOF){ for(i=1; s[i]&&s[i]!=c; i
2014-08-04 20:09:11 428
原创 算法竞赛入门经典-第四章源代码
// 程序4-1 组合数#include int f(int n){ int i, m = 1; for(i = 1; i <= n; i++) m *= i; return m;}int main(void){ int m, n; scanf("%d%d", &m, &n); printf("%d\n", f(n)/
2014-08-04 08:40:18 340
原创 算法竞赛入门经典-第三章源代码
// 程序3-1 逆序输出#include #define MAXN 100+10 // 保险int a[MAXN]; // 比较大的数组应尽量声明在main函数外int main(void){ int i, x, n=0; while(scanf("%d", &x)==1) a[n++] = x; for(i = n-1; i >= 1; i--
2014-08-03 19:50:57 504
原创 算法竞赛入门经典-第二章源代码
// 程序2-2 7744问题(1)#include #include int main(void){ int a, b, n; double m; for(a = 1; a <= 9; a++) for(b = 0; b <= 9; b++){ n = a*1100 + b*11; m = sqrt(
2014-08-03 19:46:48 548
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人