![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
文章平均质量分 68
Sun_AC
充电中……
展开
-
HDU 1099 Lottery (数学问题模拟)
Lottery Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2420 Accepted Submission(s): 1097Problem DescriptionEddy's company publis原创 2014-07-11 10:59:15 · 828 阅读 · 0 评论 -
HDU 5014 Number Sequence(分类模拟)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5014AC代码原创 2014-09-14 18:11:43 · 928 阅读 · 0 评论 -
hdu 1683 Colour sequence(简单模拟)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1683原创 2014-09-02 09:41:17 · 630 阅读 · 0 评论 -
实验项目 7-05 魔法优惠券(25)
7-05. 魔法优惠券(25)时间限制 1000 ms内存限制 32000 kB代码长度限制 8000 B判题程序 Standard 在火星上有个魔法商店,提供魔法优惠券。每个优惠劵上印有一个整数面值K,表示若你在购买某商品时使用这张优惠劵,可以得到K倍该商品价值的回报!该商店还免费赠送一些有价值的商品,但原创 2014-10-22 22:14:42 · 1252 阅读 · 0 评论 -
HDU3699(POJ 3989)A hard Aoshu Problem(暴力模拟dfs)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3699http://poj.org/problem?id=3989原创 2014-11-14 21:24:18 · 1481 阅读 · 0 评论 -
PAT 一元多项式的乘法与加法运算(20)(模拟计算过程)
一元多项式的乘法与加法运算(20)时间限制 400 ms内存限制 32000 kB代码长度限制 8000 B判题程序 Standard设计函数分别求两个一元多项式的乘积与和。输入格式说明:输入分2行,每行分别先给出多项式非零项的个数,再以指数递降方式输入一个多项式非零项系数和指数(绝对值均为不超过1原创 2014-09-22 19:50:27 · 1287 阅读 · 1 评论 -
ZOJ 3872 Beauty of Array(模拟)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3872题意:求每个连续子序列的和的总和(子序列的和为序列中不重复数字的和)思路:所有的子序列和(不管重复不重复)减去重复数字所重复的次数代码:#include #include #include #include #define LL lon原创 2015-04-30 21:46:46 · 532 阅读 · 0 评论 -
hdu 5319 Painter (2015多校第三场第4题)暴力模拟(瞎搞)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5319题意:用R颜色的笔只能画 \ ,用B颜色的笔只能画 / ,R颜色和B颜色的交点为G,给一幅画好的图,求最少画几笔。思路:一看到1代码:#include #include #include #include #include #include #include usin原创 2015-07-30 21:49:25 · 600 阅读 · 0 评论 -
hdu 4611 (2013多校第二场第1题)lcm+模拟
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4611题意:给你编号为0~N-1的N个球,先分别放入编号为0~A-1的盒子中,放球的规则为x%A=a%A(x为球编号,a为盒子编号),再给你0~B-1个盒子,将A盒子中的求移到B盒子中,移动规则为 x%B=b%B(x为球编号,b为盒子编号),求对于每个球自身放入的A、B盒子编号的差值之和,即 每原创 2015-07-23 19:55:50 · 571 阅读 · 0 评论 -
hdu 5301 Buildings (2015多校第二场第2题) 简单模拟
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5301题意:给你一个n*m的矩形,可以分成n*m个1*1的小矩形,再给你一个坐标(x,y),表示黑格子在n*m矩形中的位置,黑格子占一个1*1的小矩形的空间,用各种矩形去填充n*m矩形,(x,y)位置不能填,且每个去填充的小矩形都有一边是靠着n*m矩形的外框,求这些填充的小矩形在最小大小情况下的面积原创 2015-07-24 14:01:51 · 563 阅读 · 0 评论 -
HDU 1736(字符串模拟的水题)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1736原创 2014-08-18 18:35:02 · 1776 阅读 · 0 评论 -
HDU 5037 Frog(模拟跳石头的过程)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5037AC代码:原创 2014-09-23 19:52:37 · 889 阅读 · 0 评论 -
HDU 3257 Hello World!(字符串找规律——位运算来模拟过程)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3257AC代码:原创 2014-08-17 19:06:24 · 810 阅读 · 0 评论 -
Codeforces Round #FF (Div. 2) 447A - DZY Loves Hash(模拟)
A. DZY Loves Hashtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY has a hash table with p buckets, numbe原创 2014-07-14 16:28:12 · 729 阅读 · 0 评论 -
HDU 1556 Color the ball (模拟)
Color the ballTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8178 Accepted Submission(s): 4190Problem DescriptionN个气球排成一排,从左到右依次原创 2014-06-28 19:31:44 · 573 阅读 · 0 评论 -
POJ 1009 Edge Detection(模拟)
Edge DetectionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 17586 Accepted: 4020DescriptionIONU Satellite Imaging, Inc. records and stores very larg原创 2014-07-17 15:53:51 · 950 阅读 · 0 评论 -
UVALive 6089 Nine (暴力模拟)
F - NineTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmitStatusPracticeUVALive 6089DescriptionRandall Munroe from xkcd.com pointed out that 9 is the most原创 2014-07-21 10:32:13 · 904 阅读 · 0 评论 -
Codeforces Round #257 (Div. 2) 450A - Jzzhu and Children(模拟)
A. Jzzhu and Childrentime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n children in Jzzhu's school原创 2014-07-20 10:32:44 · 751 阅读 · 0 评论 -
URAL 1804 The Machinegunners in a Playoff(模拟比赛得分)
1804. The Machinegunners in a PlayoffTime limit: 0.5 secondMemory limit: 64 MBThe Machinegunners women's football team has advanced to the knockout stage of the Revolution Cup. The Caval原创 2014-07-26 20:14:25 · 604 阅读 · 0 评论 -
HDU 4883 TIANKENG’s restaurant(暴力模拟)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4883原创 2014-07-28 11:10:28 · 610 阅读 · 0 评论 -
hdu4970 Killing Monsters(模拟塔防游戏)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4970AC代码:原创 2014-08-20 16:17:51 · 721 阅读 · 0 评论 -
ZOJ 2042 Divisibility(dp模拟)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2042原创 2014-09-12 14:43:07 · 822 阅读 · 0 评论 -
hdu 5308 (2015多校第二场第9题)脑洞模拟题,无语
题目链接:http://acm.hdu.edu.cn/listproblem.php?vol=44题意:给你n个n,如果能在n-1次运算之后(加减乘除)结果为24的输出n-1次运算的过程,如果不能输出-1。思路:乍看起来,没什么规律,但是可以想象的是(n+n+n+n)/n=4,(n+n+n+n+n+n)/n=6,(n-n)*n*n*·····*n=0所以在n大于15的时候结果基本是固定的,原创 2015-07-24 19:07:03 · 718 阅读 · 0 评论