模拟
-lyslyslys
菜狗一个
展开
-
Codeforces Round #595 (Div. 3) a-c2题解
A. Yet Another Dividing into Teamstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are a coach of a group consisting ofnnstu...原创 2019-10-26 10:51:37 · 481 阅读 · 1 评论 -
Forsaken喜欢正方形-模拟
链接:https://ac.nowcoder.com/acm/contest/1221/D来源:牛客网目描述 Forsaken特别喜欢正方形,现在他有二维平面的四个整点。如果四个整点可以直接形成一个正方形,输出"wen"。如果可以通过对其中一个点进行一次轻微的调整使得四个整点形成一个正方形,输出“hai xing”,轻微的调整是指如果当前整点坐标为(x,y)(x,y)(...原创 2019-10-25 23:37:06 · 266 阅读 · 1 评论 -
Clarifications
链接:https://ac.nowcoder.com/acm/contest/624/B来源:牛客网The university programming contest of HIT@WH is going to start!As the main problem setter, Ramen is going to reply to the requests for clar...原创 2019-04-14 16:52:10 · 1558 阅读 · 0 评论 -
Coding Problem
Problem DescriptionHere is the logic.I am the brother of mata Chuang.Mata chuang is the brother of cxk.So what am I?Am I the grand-brother of cxk?Or am I in a position that same brother level of cxk...原创 2019-04-20 19:27:01 · 642 阅读 · 0 评论 -
Clumsy Keke
Problem DescriptionKeke is currently studying engineering drawing courses, and the teacher has taught her how to find its volume through the three views of the part. But her brain doesn't work well ...原创 2019-04-20 19:21:53 · 559 阅读 · 0 评论 -
A == B ?
Problem DescriptionGive you two numbers A and B, if A is equal to B, you should print "YES", or print "NO".Inputeach test case contains two numbers A and B.Outputfor each case, i...原创 2019-04-04 16:47:17 · 2205 阅读 · 0 评论 -
汉诺塔问题--map模拟过
有三根杆子A,B,C。A杆上有N个(N>1)穿孔圆盘,盘的尺寸由下到上依次变小。要求按下列规则将所有圆盘移至C杆: 每次只能移动一个圆盘; 大盘不能叠在小盘上面。 提示:可将圆盘临时置于B杆,也可将从A杆移出的圆盘重新移回A杆,但都必须遵循上述两条规则。问:如何移?最少要移动多少次?汉诺塔示意图如下:三个盘的移动:二、故事由来法国数学家爱德华·卢...原创 2019-03-18 19:49:23 · 505 阅读 · 0 评论 -
Defuse the Bomb-大模拟
The bomb is about to explode! Please defuse it as soon as possible!There is a display showing a number from 1 to 4 on the bomb. Besides this, there are 4 buttons under the display. Each button is la...原创 2019-03-25 22:30:56 · 263 阅读 · 0 评论 -
C. Phone Numbers
Vasya has several phone books, in which he recorded the telephone numbers of his friends. Each of his friends can have one or several phone numbers.Vasya decided to organize information about the ph...原创 2019-03-30 23:57:46 · 336 阅读 · 0 评论 -
木块问题-每步详解
在计算机科学中的很多地方都会使用简单,抽象的方法来做分析和实验验究。比如在早期的规划学和机器人学的人工智能研究就利用一个积木世界,让机械臂执行操作积木的任务。在这个问题中,你将在确定的规则和约束条件下构建一个简单的积木世界。这不是让你来研究怎样达到某种状态,而是编写一个“机械臂程序”来响应有限的命令集。问题问题就是分析一系列的命令,告诉机械臂如何操纵放在一个平台上的积木。最初平台上有...原创 2019-03-26 20:11:50 · 724 阅读 · 0 评论 -
IMBA?
As a kind problem setter, I should warn you, as you may already notice the sample output, it’s a horrible problem and very IMBA (imbalanced).Today we learn circle, a circle is a simple shape of Eucl...原创 2019-04-04 11:07:19 · 1403 阅读 · 0 评论