模拟题
Kirito_Acmer
这个作者很懒,什么都没留下…
展开
-
1561: (More) Multiplication
DescriptionEducators are always coming up with new ways to teach math to students. In 2011, an educational software company, All Computer Math (ACM), developed an application to display products原创 2015-04-07 16:03:46 · 455 阅读 · 0 评论 -
codeforces644B. Processing Queries (模拟)
In this problem you have to simulate the workflow of one-thread server. There are n queries to process, the i-th will be received at moment ti and needs to be processed for di units of time. All原创 2016-03-21 15:35:06 · 600 阅读 · 0 评论 -
zjnu1730 PIRAMIDA(字符串,模拟)
DescriptionSample Input6JANJETINA51 J1 A6 N6 I5 ESample Output10211题意:给你一个长度小于等于10^6的字符串,然后每次让它循环铺盖,构成层数为n的塔,让你求得第i层塔中某个字符的个数。思路:首先要注意到字符串是从左到右覆盖该行和从右到做覆盖该行不影响结果,原创 2016-03-14 21:48:37 · 492 阅读 · 0 评论 -
zjnu1725 COCI (类似二维树状数组模拟)
DescriptionThe 3rd round of COCI is already here! In order to bet on predict the scores, we have assumed the following: If contestant A scored strictly more points than contestant B in each o原创 2016-03-15 19:16:25 · 550 阅读 · 0 评论 -
bnuoj24252 Divide
Alice and Bob has found a island of treasure in byteland! They find N kinds of treasures on the island, and each kind of treasure has a certain number, and as in byteland, the value of each treasure w原创 2015-10-09 21:51:03 · 412 阅读 · 0 评论 -
hdu5491 The Next
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 740 Accepted Submission(s): 294Problem DescriptionLet L denote the number of原创 2015-09-29 13:18:48 · 539 阅读 · 0 评论 -
hdu5402 Travelling Salesman Problem
Problem DescriptionTeacher Mai is in a maze with n rows and m columns. There is a non-negative number in each cell. Teacher Mai wants to walk from the top left corner (1,1) to the bottom rig原创 2015-08-18 21:16:23 · 699 阅读 · 0 评论 -
hdu5386 Cover
Problem DescriptionYou have an n∗n matrix.Every grid has a color.Now there are two types of operating:L x y: for(int i=1;iH x y:for(int i=1;iNow give you the initial matrix and the goal ma原创 2015-08-14 12:53:53 · 984 阅读 · 0 评论 -
hdu5387 Clock
Problem DescriptionGive a time.(hh:mm:ss),you should answer the angle between any two of the minute.hour.second handNotice that the answer must be not more 180 and not less than 0 Inpu原创 2015-08-13 22:05:05 · 819 阅读 · 0 评论 -
表达式的转换 (模拟题)
做了三题表达式的转换题,都是先把中缀表达式转换为后缀表达式,然后再计算。zjnu1069 表达式的转换——中级Description平常我们书写的表达式称为中缀表达式,因为它将运算符放在两个操作数中间,许多情况下为了确定运算顺序,括号是不可少的,而中缀表达式就不必用括号了。 后缀标记法:书写表达式时采用运算紧跟在两个操作数之后,从而实现了无括号处理和优先级处理,使计算机的处理规原创 2016-03-11 14:11:52 · 1638 阅读 · 0 评论