挑战编程--训练手册
文章平均质量分 93
CHCXCHC
这个作者很懒,什么都没留下…
展开
-
2.8.1 快乐的跳跃着 Jolly Jumpers
PC/UVA 110201/10038水题。//author: CHC//First Edit Time: 2014-01-16 14:05//Last Edit Time: 2014-01-16 14:15//Filename:1.cpp#include #include #include #include #include using namespace std;i原创 2014-01-22 19:10:01 · 1215 阅读 · 0 评论 -
1.6.2 扫雷 Minesweeper
Minesweeper Have you ever played Minesweeper? This cute little game comes with a certain operating system whose name we can't remember. The goal原创 2014-01-22 18:48:35 · 1440 阅读 · 0 评论 -
1.6.6 解释器 Interpreter
PC/UVA 110106/10033本题。。模拟即可。//author: CHC//First Edit Time: 2014-01-12 22:00//Last Edit Time: 2014-01-13 11:30//Filename:1.cpp#include #include #include #include #include using namespace原创 2014-01-22 19:01:22 · 1324 阅读 · 0 评论 -
1.6.1 3n+1问题 The 3n+1 problem
The 3n + 1 problem Consider the following algorithm to generate a sequence of numbers. Start with an integer n. If n is even, divide by 2.原创 2014-01-22 18:45:35 · 1455 阅读 · 0 评论 -
2.8.3 罢工 Hartals
PC/UVA 110203/10050裸的bfs//author: CHC//First Edit Time: 2014-01-17 12:12//Last Edit Time: 2014-01-17 12:36//Filename:1.cpp#include #include #include #include #include using namespace std;原创 2014-01-22 19:14:45 · 1472 阅读 · 0 评论 -
1.6.8 澳大利亚投票 Australian Voting
PC/UVA 110108/10142模拟。//author: CHC//First Edit Time: 2014-01-14 14:37//Last Edit Time: 2014-01-15 22:03//Filename:1.cpp#include #include #include #include #include #include using namesp原创 2014-01-22 19:07:41 · 1416 阅读 · 0 评论 -
1.6.5 图形化编辑器 Graphical Editor
Graphical Editor Graphical editors such as Photoshop allow us to alter bit-mapped images in the same way that text editors allow us to modify原创 2014-01-22 18:56:40 · 1955 阅读 · 0 评论 -
2.8.5 完美洗牌术 Stack 'em Up
PC/UVA 110205/10205水题。模拟//author: CHC//First Edit Time: 2014-01-22 13:06//Last Edit Time: 2014-01-22 13:22//Filename:1.cpp#include #include #include #include #include using namespace std;原创 2014-01-22 19:20:19 · 1252 阅读 · 0 评论 -
1.6.7 将军 Check the Check
PC/UVA 110107/10196本题略恶心。模拟//author: CHC//First Edit Time: 2014-01-13 17:11//Last Edit Time: 2014-01-14 13:57//Filename:1.cpp#include #include #include #include #include using namespace s原创 2014-01-22 19:04:12 · 1176 阅读 · 0 评论 -
1.6.3 旅行 The Trip
The Trip A group of students are members of a club that travels annually to different locations. Their destinations in the past have included原创 2014-01-22 18:51:51 · 840 阅读 · 0 评论 -
2.8.4 解密 Crypt Kicker
本题。DFS。但是由于过多的使用set。导致TLE。。话说。我第一次在挑战编程的那个网站上看到有这个状态。。//author: CHC//First Edit Time: 2014-01-22 11:17//Last Edit Time: 2014-01-22 12:14//Filename:3.cpp#include #include #include #include #i原创 2014-01-22 19:16:56 · 2451 阅读 · 0 评论 -
2.8.2 扑克牌型 Poker Hands
PC/UVA 110202/10315本题。按顺序比较牌型。//author: CHC//First Edit Time: 2014-01-16 14:29//Last Edit Time: 2014-01-16 21:09//Filename:1.cpp#include #include #include #include #include using namespac原创 2014-01-22 19:12:35 · 2095 阅读 · 0 评论 -
1.6.4 液晶显示屏 LC-Display
LC-Display A friend of yours has just bought a new computer. Before this, the most powerful machine he ever used was a pocket calculator. He i原创 2014-01-22 18:54:02 · 1274 阅读 · 0 评论