![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
文章平均质量分 86
fcbruce
Veni,Vidi,Vici
展开
-
POJ 3972 BF (字符串模拟)
http://poj.org/problem?id=3972 BF Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 241 Accepted: 53 Description BF is a language that was desig原创 2014-05-20 00:23:04 · 1015 阅读 · 0 评论 -
HDU 4286 Data Handler( 数据结构,双向队列,模拟)
http://acm.hdu.edu.cn/showproblem.php?pid=4286 Data Handler Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2218 Accepted Submissio原创 2014-06-17 21:07:43 · 1058 阅读 · 0 评论 -
TopCoder SRM 144 DIV2 550points
Problem Statement Let's say you have a binary string such as the following: 011100011 One way to encrypt this string is to add to each digit the sum of its adjacent digits. For exampl原创 2014-02-11 21:34:36 · 814 阅读 · 0 评论 -
TopCoder SRM 446 DIV2 500points
Problem Statement Consider the 3x3x3 cube shown above. There are nine squares on each of its six faces, and each face is colored using the following pattern: The four corner squares原创 2014-02-14 10:58:40 · 769 阅读 · 0 评论 -
UVALive 6459 Infinite Go (模拟,搜索)
题意: 有一个1->INF*1->INF的围棋棋盘,给出双方的落子,求最后双方剩余棋子的数量。 分析: 又是一道大力出奇迹的题,直接裸的搜索就行。每走一步就搜索该点和它周围4个点影响的联通块,如果没有气就删掉。但要注意先搜它周围4个点再搜它自己,反过来虽然也能AC,但这是不对的。原创 2014-09-06 20:13:14 · 1148 阅读 · 1 评论 -
HDU 5071 Chat(2014鞍山B,模拟)
http://acm.hdu.edu.cn/showproblem.php?pid=5071 Chat Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 702 Accepted Submission(s): 163原创 2014-10-25 11:11:38 · 1669 阅读 · 0 评论 -
ZOJ 3826 Hierarchical Notation(2014 牡丹江 H,字符串模拟)
题意: 模拟python的字典。给出一个字典,然后有1000个查询,输出对应的键值。 分析: 简单粗暴的字符串神烦模拟。因为打的网络同步赛,内存限制得很死,采用了离线操作。 抓住这几个关键的符号:‘{’ '}' ',' ':' 进行操作。具体见代码及注释,数据不是非常恶心。原创 2014-10-12 17:42:32 · 2382 阅读 · 0 评论