
acm之路--模拟
文章平均质量分 83
synapse7
这个作者很懒,什么都没留下…
展开
-
UVa 253 Cube painting (模拟)
253 - Cube paintingTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=99&page=show_problem&problem=189We have a machine for painting cubes原创 2013-09-14 14:27:34 · 1211 阅读 · 2 评论 -
Tokyo 2009 / UVa 1445 Cubist Artwork (二视图中的最少方块)
1445 - Cubist ArtworkTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=512&page=show_problem&problem=4191International Center for Picasso原创 2013-09-02 20:32:08 · 1105 阅读 · 0 评论 -
UVa 10881 Piotr's Ants (等价转化思想)
10881 - Piotr's AntsTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=456&page=show_problem&problem=1822"One thing is for certain原创 2013-09-01 16:41:41 · 858 阅读 · 0 评论 -
UVa 11507 Bender B. Rodríguez Problem (模拟&异或)
11507 - Bender B. Rodríguez ProblemTime limit: 4.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2502Bender is a robot bui原创 2013-10-07 00:31:51 · 1343 阅读 · 0 评论 -
UVa 101 The Blocks Problem (超级模拟)
101 - The Blocks ProblemTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=37Background Many areas of Compu原创 2013-09-21 23:56:18 · 991 阅读 · 0 评论 -
UVa 10189 Minesweeper (模拟)
10189 - MinesweeperTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1130The ProblemHave you ever played原创 2013-09-21 22:56:37 · 1765 阅读 · 0 评论 -
UVa 10114 Loansome Car Buyer (模拟)
10114 - Loansome Car BuyerTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1055Kara Van and Lee Sabre are l原创 2013-10-06 22:56:54 · 1988 阅读 · 0 评论 -
UVa 299 Train Swapping (冒泡排序的次数)
299 - Train SwappingTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=98&page=show_problem&problem=235At an old railway station, you may原创 2013-09-18 08:33:36 · 1329 阅读 · 0 评论 -
UVa 550 Multiplying by Rotation (模拟乘法)
550 - Multiplying by RotationTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=100&page=show_problem&problem=491Warning: Not all numbers原创 2013-09-30 19:27:44 · 1275 阅读 · 0 评论 -
UVa 573 The Snail (模拟)
573 - The SnailTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=99&page=show_problem&problem=514A snail is at the bottom of a 6-foot wel原创 2013-09-15 09:47:39 · 1151 阅读 · 0 评论 -
UVa 621 Secret Research (water ver.)
621 - Secret ResearchTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=99&page=show_problem&problem=562At a certain laboratory results of原创 2013-09-14 17:04:42 · 1278 阅读 · 0 评论 -
UVa 489 Hangman Judge (模拟&字符串匹配)
489 - Hangman JudgeTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=94&page=show_problem&problem=430In ``Hangman Judge,'' you are to wri原创 2013-09-13 23:54:10 · 1031 阅读 · 0 评论 -
UVa 490 Rotating Sentences (water ver.)
490 - Rotating SentencesTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=94&page=show_problem&problem=431In ``Rotating Sentences,'' you原创 2013-09-13 20:56:21 · 1002 阅读 · 0 评论 -
UVa 445 Marvelous Mazes (water ver.)
445 - Marvelous MazesTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=94&page=show_problem&problem=386Your mission, if you decide to acc原创 2013-09-13 21:26:04 · 1036 阅读 · 0 评论 -
UVa 457 Linear Cellular Automata (water ver.)
457 - Linear Cellular AutomataTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=94&page=show_problem&problem=398A biologist is experiment原创 2013-09-14 09:27:43 · 1231 阅读 · 0 评论 -
UVa 488 Triangle Wave (water ver.)
488 - Triangle WaveTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=94&page=show_problem&problem=429In this problem you are to generate原创 2013-09-13 23:28:47 · 1199 阅读 · 0 评论 -
UVa 110 Meta-Loopless Sorts (递归&代码模拟&全排列)
110 - Meta-Loopless SortsTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=46Background Sorting holds an im原创 2013-09-25 18:13:32 · 1145 阅读 · 0 评论 -
UVa 10194 Football (aka Soccer) (模拟)
10194 - Football (aka Soccer)Time limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=98&page=show_problem&problem=1135The ProblemFootball t原创 2013-10-21 22:36:29 · 1022 阅读 · 0 评论 -
UVa 127 "Accordian" Patience (模拟链表&栈)
127 - "Accordian" PatienceTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=103&page=show_problem&problem=63You are to simulate the p原创 2013-08-02 10:44:34 · 1185 阅读 · 0 评论 -
CROC-MBTU 2012, Elimination Round / 245F Log Stream Analysis (日期处理&二分)
http://codeforces.com/problemset/problem/245/F#includeusing namespace std;const int mx = 5000005;const int month[] = {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};const int day2s = 24原创 2014-03-09 10:55:09 · 1306 阅读 · 0 评论 -
UVa 118 Mutant Flatworld Explorers (模拟机器人移动)
118 - Mutant Flatworld ExplorersTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=54旋转时+1或+3再取模即可。完整原创 2014-01-12 08:02:46 · 2446 阅读 · 1 评论 -
UVa 706 / POJ 1102 LCD Display (模拟)
706 - LCD DisplayTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=647http://poj.org/problem?id=1102A fr原创 2013-09-21 08:14:28 · 1238 阅读 · 0 评论 -
POJ 1033 / Northeastern Europe 1998 Defragment (模拟&队列)
Defragmenthttp://poj.org/problem?id=1033Time Limit: 2000MSMemory Limit: 10000KCase Time Limit: 1000MSSpecial JudgeDescriptionYou are taking part in the development原创 2013-08-25 13:09:49 · 1332 阅读 · 2 评论 -
UVa 712/POJ 1105/ZOJ 1150 S-Trees(用数组模拟二叉树)
712 - S-TreesTime limit: 3.000 secondsA Strange Tree (S-tree) over the variable set is a binary tree representing a Boolean function . Each path of the S-tree begins at theroot node and consi原创 2013-08-02 23:36:52 · 1251 阅读 · 0 评论 -
SGU 127 Telephone directory (模拟)
time limit per test: 0.5 sec. memory limit per test: 4096 KBhttp://acm.sgu.ru/problem.php?contest=0&problem=127CIA has decided to create a special telephone directory for its agents. The fir原创 2013-08-28 14:50:56 · 1039 阅读 · 0 评论 -
ZOJ 3202 Second-price Auction (模拟)
Second-price Auctionhttp://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3202Time Limit: 1 Second Memory Limit: 32768 KBDo you know second-price auction? It's very simple bu原创 2013-08-31 21:37:45 · 1233 阅读 · 0 评论 -
POJ 1028 / East Central North America 2001 Web Navigation (栈)
Web Navigationhttp://poj.org/problem?id=1028Time Limit: 1000MSMemory Limit: 10000KDescriptionStandard web browsers contain features to move backward and forward among the p原创 2013-08-29 16:37:28 · 1589 阅读 · 0 评论 -
UVa 442/HDU 1082/ZOJ 1094 Matrix Chain Multiplication(模拟&栈)
442 - Matrix Chain MultiplicationTime limit: 3.000 secondsSuppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative,原创 2013-08-02 16:27:23 · 1558 阅读 · 5 评论 -
UVa 10205 Stack 'em Up (模拟)
10205 - Stack 'em UpTime limit: 3.000 seconds http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1146A standard playing card deck contai原创 2013-11-26 18:54:50 · 1342 阅读 · 0 评论 -
UVa 11210 Chinese Mahjong (模拟&枚举&回溯)
11210 - Chinese MahjongTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=2151Mahjong () is a game of Chinese origin usually played by原创 2013-10-13 21:19:55 · 917 阅读 · 0 评论 -
UVa 10700 Camel trading (计算表达式)
10700 - Camel tradingTime limit: 3.000 seconds http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=113&page=show_problem&problem=1641Background Aroud 800 A.D., El原创 2013-10-31 13:04:55 · 1482 阅读 · 0 评论 -
POJ 1835 宇航员 (模拟&三维向量旋转)
宇航员http://poj.org/problem?id=1835Time Limit: 2000MSMemory Limit: 30000KDescription问题描述: 宇航员在太空中迷失了方向,在他的起始位置现在建立一个虚拟xyz坐标系,称为绝对坐标系,宇航员正面的方向为x轴正方向,头顶方向为z轴正方向,则宇航员的初始状态如下原创 2013-10-24 00:23:07 · 3160 阅读 · 0 评论 -
UVa 327 Evaluating Simple C Expressions (模拟)
327 - Evaluating Simple C ExpressionsTime limit: 3.000 seconds http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=104&page=show_problem&problem=263The task in this原创 2013-10-28 20:16:08 · 1085 阅读 · 4 评论 -
UVa 297 Quadtrees(模拟&四分树)
297 - QuadtreesTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=104&page=show_problem&problem=233A quadtree is a representation format u原创 2013-08-03 11:08:29 · 1195 阅读 · 0 评论 -
UVa 414 Machined Surfaces (water ver.)
414 - Machined SurfacesTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=94&page=show_problem&problem=355An imaging device furnishes di原创 2013-09-13 16:08:07 · 5503 阅读 · 0 评论 -
UVa 10300 Ecological Premium (water ver.)
10300 - Ecological PremiumTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=94&page=show_problem&problem=1241German farmers are given a原创 2013-09-13 11:03:32 · 993 阅读 · 0 评论 -
UVa 591 Box of Bricks (模拟)
591 - Box of BricksTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=467&page=show_problem&problem=532Little Bob likes playing with his b原创 2013-09-12 07:43:01 · 1513 阅读 · 0 评论 -
Codeforces ABBYY Cup 3.0 / 316A1 316A2 Special Task(模拟&贪心&组合数学)
A1&A2. Special Taskhttp://codeforces.com/problemset/problem/316/A1http://codeforces.com/problemset/problem/316/A2time limit per test1 secondmemory limit per test256 megabytes原创 2013-08-13 21:37:33 · 1295 阅读 · 0 评论 -
Codeforces Round #173 (Div. 2) / 282A Bit++(模拟)
A. Bit++http://codeforces.com/problemset/problem/282/Atime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output原创 2013-08-17 19:06:41 · 1996 阅读 · 0 评论 -
Codeforces Testing Round #8 / 328A IQ Test(模拟)
A. IQ Testhttp://codeforces.com/contest/328/problem/Atime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPe原创 2013-08-16 23:09:44 · 985 阅读 · 0 评论