ICPC-模拟
文章平均质量分 86
模拟有关的题解
海岛Blog
专注于程序设计及其竞赛,专注于集成电路EDA设计
展开
-
HDU1876 机器人系列2【模拟】
机器人系列2Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1557 Accepted Submission(s): 376Problem Description这又是一个简单的游戏,你控制一个机器人从一个棋盘的起始点(1,1)走到棋盘的终点(n,m)。游戏的规则描述如下:1.机器人一开始在棋盘的起始点(1,1)并有起始点所标有的能量原创 2022-05-04 20:53:55 · 306 阅读 · 0 评论 -
Bailian1835 POJ1835 宇航员【模拟】
宇航员Time Limit: 2000MS Memory Limit: 30000KTotal Submissions: 8900 Accepted: 3629Description问题描述: 宇航员在太空中迷失了方向,在他的起始位置现在建立一个虚拟xyz坐标系,称为绝对坐标系,宇航员正面的方向为x轴正方向,头顶方向为z轴正方向,则宇航员的初始状态如下图所示:现对六个方向分别标号,x,y,z正方向分别为0,1,2,负方向分别为3,4,5;称它们为绝对方向。宇航员在宇宙中只沿着与绝对坐标系原创 2021-08-06 23:18:31 · 236 阅读 · 0 评论 -
UVA144 LA5572 Student Grants【模拟】
The Government of Impecunia has decided to discourage tertiary students by making the payments of tertiary grants a long and time-consuming process. Each student is issued a student ID card which has a magnetically encoded strip on the back which records t原创 2021-05-01 12:05:01 · 218 阅读 · 0 评论 -
UVA12356 LA5789 Army Buddies【模拟】
Nlogonia is fighting a ruthless war against the neighboring country of Cubiconia. The Chief General of Nlogonia’s Army decided to attack the enemy with a linear formation of soldiers, that would advance together until conquering the neighboring country. Be原创 2021-04-29 00:12:42 · 254 阅读 · 0 评论 -
UVA11935 Through the Desert【模拟】
Imagine you are an explorer trying to cross a desert. Many dangers and obstacles are waiting on your path. Your life depends on your trusty old jeep having a large enough fuel tank. But how large exactly does it have to be? Compute thesmallest volume need原创 2021-03-25 01:09:57 · 275 阅读 · 0 评论 -
POJ2632 HDU2300 Crashing Robots【模拟】
Crashing RobotsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 14225 Accepted: 5936DescriptionIn a modernized warehouse, robots are used to fetch the goods. Careful planning is needed to ensure that the robots reach their destinations witho原创 2021-03-11 06:55:21 · 252 阅读 · 1 评论 -
POJ3295 UVA11108 Tautology【模拟+暴力】
TautologyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 17243 Accepted: 6695DescriptionWFF 'N PROOF is a logic game played with dice. Each die has six faces representing some subset of the possible symbols K, A, N, C, E, p, q, r, s, t. A W原创 2021-03-10 09:29:23 · 227 阅读 · 0 评论 -
POJ1212 HDU1650 UVA180 LA5240 Eeny Meeny【约瑟夫环】
Eeny MeenyTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 348 Accepted: 101DescriptionIn darkest < name of continent/island deleted to prevent offence > lived a tribe called the ‘‘Eeny Meenys’’. They got this name from their way of ch原创 2021-02-28 20:43:19 · 312 阅读 · 0 评论 -
POJ1573 ZOJ1708 UVA10116 UVALive5334 HDU1035 Robot Motion【模拟】
Robot MotionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 16166 Accepted: 7643DescriptionA robot has been programmed to follow the instructions in its path. Instructions for the nex...原创 2019-01-28 17:42:58 · 435 阅读 · 0 评论 -
POJ3665 iCow【模拟】
iCowTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6901 Accepted: 2509DescriptionFatigued by the endless toils of farming, Farmer John has decided to try his hand in the MP3 player market with the new iCow. It is an MP3 player that stores原创 2021-02-20 18:41:51 · 232 阅读 · 1 评论 -
POJ3672 Long Distance Racing【模拟】
Long Distance RacingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9051 Accepted: 4841DescriptionBessie is training for her next race by running on a path that includes hills so that she will be prepared for any terrain. She has planned a原创 2021-02-20 08:21:42 · 198 阅读 · 0 评论 -
HDU1393 ZOJ1476 Weird Clock【模拟】
Weird ClockTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5661 Accepted Submission(s): 2108Problem DescriptionA weird clock marked from 0 to 59 has only a minute hand. It won’t move until a sp原创 2021-02-20 00:07:09 · 180 阅读 · 0 评论 -
HDU4941 Magical Forest【模拟】
Magical ForestTime Limit: 24000/12000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 2079 Accepted Submission(s): 922Problem DescriptionThere is a forest can be seen as N * M grid. In this forest, there is some m原创 2021-02-19 11:08:16 · 424 阅读 · 0 评论 -
HDU4134 Sequence Folding【模拟】
Sequence FoldingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 375 Accepted Submission(s): 213Problem DescriptionAlice and Bob are practicing hard for the new ICPC season. They hold many priva原创 2021-02-19 10:07:55 · 266 阅读 · 0 评论 -
HDU1034 POJ1666 ZOJ1814 LA2866 Candy Sharing Game【模拟】
Candy Sharing GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14277 Accepted Submission(s): 7919Problem DescriptionA number of students sit in a circle facing their teacher in the center. E原创 2021-02-18 23:34:13 · 227 阅读 · 0 评论 -
UVA141 The Spot Game【模拟】
The game of Spot is played on an N × N board as shown below for N = 4. During the game, alternate players may either place a black counter (spot) in an empty square or remove one from the board, thus producing a variety of patterns. If a board pattern (or原创 2021-02-14 22:16:37 · 278 阅读 · 0 评论 -
HDU2525 Clone Wars【模拟】
Clone WarsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 848 Accepted Submission(s): 238Problem Description逐青曾经很喜欢玩战略游戏,有一段时间他一直泡在自己发现的一个游戏《克隆人大战》里。有一次逐青碰上这样的局面:他的建筑也全部被摧毁,只留下几个克隆人士兵和一个生化学家,不原创 2021-01-13 06:37:06 · 293 阅读 · 0 评论 -
HDU1259 ZJUTACM【模拟】
ZJUTACMTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6425 Accepted Submission(s): 3417Problem Description欢迎参加浙江工业大学第四届程序设计竞赛!但是,请稍等!裁判Joe说了,必须正确回答他的问题,才可以看到PIPI的气球MM,KUKU的气球GG.Joe手上有7张卡片,每张原创 2020-05-16 23:48:09 · 503 阅读 · 0 评论 -
UVA118 HDU1620 Mutant Flatworld Explorers【模拟】
Mutant Flatworld ExplorersTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 207 Accepted Submission(s): 52Problem DescriptionRobotics, robo...原创 2020-04-27 00:24:09 · 406 阅读 · 0 评论 -
UVA412 LA5378 POJ1491 ZOJ1337 Pi【模拟+GCD】
Professor Robert A. J. Matthews of the Applied Mathematics and Computer Science Department at the University of Aston in Birmingham, England has recently described howthe positions of stars across the...原创 2020-04-26 16:49:00 · 306 阅读 · 0 评论 -
ZOJ3981 Balloon Robot【模拟】
Balloon RobotTime Limit: 1000 msMemory Limit: 65536 KBThe 2017 China Collegiate Programming Contest Qinhuangdao Site is coming! There will be n teams participating in the contest, and the contest wi...原创 2020-04-24 07:46:39 · 589 阅读 · 0 评论 -
UVA11507 Bender B. Rodríguez Problem【模拟+时序机+位运算】
Bender is a robot built by Mom’s Friendly Robot Company at its plant in Tijuana, Mexico in 2996. He is a Bending-Unit 22, serial number 2716057 and chassis number 1729. He was created for the task of ...原创 2020-04-16 09:24:09 · 430 阅读 · 0 评论 -
UVA11956 Brainfuck【模拟】
Recently your friend Bob has bought a new brainfuck programmable LED display. However executing a program directly on LED display takes huge amount of time. Because of this, now Bob decided to write t...原创 2020-04-16 00:20:12 · 352 阅读 · 0 评论 -
hdu1861 游船出租【模拟】
游船出租Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9870 Accepted Submission(s): 3420Problem Description现有公园游船租赁处请你编写一个租船管理系统。当游客租船时,管理员输...原创 2020-03-11 20:12:15 · 444 阅读 · 0 评论 -
UVA11687 Digits【模拟】
A googol written out in decimal has 101 digits. A googolplex has one plus a googol digits. That’s a lot of digits! Given any number x0, define a sequence using the following re...原创 2020-02-27 08:45:42 · 517 阅读 · 0 评论 -
HDU3233 UVA12231 LA4486 Download Manager【模拟】
Download ManagerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1563 Accepted Submission(s): 800Problem DescriptionJiajia downloads a lot...原创 2020-02-23 22:22:49 · 477 阅读 · 0 评论 -
HDU4841 圆桌问题【约瑟夫环+模拟+STL】
圆桌问题Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 6757 Accepted Submission(s): 2550Problem Description圆桌上围坐着2n个人。其中n个人是好人,另外n个人是坏人。如果从第...原创 2020-02-23 14:12:04 · 816 阅读 · 0 评论 -
HDU2526 浪漫手机【模拟】
浪漫手机Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1676 Accepted Submission(s): 746Problem Description最近,WisKey迷上了手机铃声,但是他对音律不是很懂,所以他想着能...原创 2019-11-24 02:31:14 · 328 阅读 · 0 评论 -
HDU1434 幸福列车【模拟+优先队列】
幸福列车Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others)Total Submission(s): 2690 Accepted Submission(s): 891Problem Description一批幸福的列车即将从杭州驶向幸福的终点站——温州,身为原创 2017-07-25 20:51:39 · 1312 阅读 · 0 评论 -
POJ1105 ZOJ1150 UVA712 UVALive5565 S-Trees【二叉树+模拟】
S-TreesTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 2272 Accepted: 1158DescriptionA Strange Tree (S-tree) over the variable set Xn = {x1,x2,…,xn} is a binary tree representing a Boo...原创 2019-02-24 17:57:20 · 373 阅读 · 0 评论 -
POJ3195 UVA11111 Generalized Matrioshkas【堆栈】
Generalized MatrioshkasTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2036 Accepted: 600DescriptionVladimir worked for years making matrioshkas, those nesting dolls that certainly rep...原创 2019-02-22 12:32:42 · 394 阅读 · 0 评论 -
POJ1484 ZOJ1195 UVA661 UVALive5632 Blowing Fuses【模拟】
Blowing FusesTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 4400 Accepted: 1690DescriptionMaybe you are familiar with the following situation. You have plugged in a lot of electrical ...原创 2019-01-30 21:49:32 · 411 阅读 · 0 评论 -
UVA457 Linear Cellular Automata【模拟】
A biologist is experimenting with DNA modification of bacterial colonies being grown in a linear array of culture dishes. By changing the DNA, he is able “program” the bacteria to respond to the popul...原创 2019-02-15 20:04:25 · 386 阅读 · 0 评论 -
POJ1107 ZOJ1042 UVALive2291 W's Cipher【密码+模拟】
W’s CipherTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5811 Accepted: 2903DescriptionWeird Wally’s Wireless Widgets, Inc. manufactures an eclectic assortment of small, wireless, net...原创 2018-12-30 19:29:33 · 529 阅读 · 0 评论 -
HDU1702 ACboy needs your help again!【模拟】
ACboy needs your help again!Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 12266 Accepted Submission(s): 6064Problem DescriptionACboy wa...原创 2019-01-03 21:12:39 · 612 阅读 · 0 评论 -
UVA10726 Coco Monkey【暴力+模拟】
This is the story of a time long ago. There were these sailors stranded on a beautiful island full off coconut trees. And what do our sailors do with the coconut trees? They collect all the coconuts a...原创 2018-08-21 02:32:07 · 472 阅读 · 0 评论 -
POJ1309 HDU1346 ZOJ1269 UVA616 UVALive5462 Coconuts, Revisited【暴力+模拟】
Coconuts, RevisitedTime Limit: 1000MS Memory Limit: 10000K Total Submissions: 2171 Accepted: 885 DescriptionThe short story titled Coconuts, by Ben Ames Williams, appeared in t...原创 2018-08-20 23:28:08 · 783 阅读 · 0 评论 -
POJ1214 UVA127 "Accordian" Patience【vector】
“Accordian” PatienceTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 1051 Accepted: 386DescriptionYou are to simulate the playing of games of ``Accordian’’ patience, the rules for which...原创 2019-02-21 12:53:02 · 454 阅读 · 0 评论 -
POJ2652 HDU1146 ZOJ2550 UVA10901 Ferry Loading III【模拟+queue+vecoor】
Ferry Loading IIITime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 988 Accepted: 318DescriptionBefore bridges were common, ferries were used to transport cars across rivers. River ferrie...原创 2019-03-22 20:16:56 · 586 阅读 · 0 评论 -
UVA10170 The Hotel with Infinite Rooms【数学模拟+二分查找】
The city of HaluaRuti has a strange hotel with infinite rooms. The groups that come to this hotel follow the following rules:a) At the same time only members of one group can rent the hotel.b) Each ...原创 2019-04-20 00:00:27 · 936 阅读 · 0 评论