随笔分类 -  乱 搞——模拟

摘要:Ignatius and the Princess II Problem Description Now our hero finds the door to the BEelzebub feng5166. He opens the door and finds feng5166 is about 阅读全文
posted @ 2017-02-18 15:35 勿忘初心0924 阅读(488) 评论(0) 推荐(0)
摘要:Snail’s trouble Problem Description Once upon a time, there was a poor snail. Every day, it tried very hard to crawl forward, while there was a keeper 阅读全文
posted @ 2017-02-17 10:33 勿忘初心0924 阅读(225) 评论(0) 推荐(0)
摘要:#define is unsafe Problem Description Have you used #define in C/C++ code like the code below?#include <stdio.h>#define MAX(a , b) ((a) > (b) ? (a) : 阅读全文
posted @ 2017-02-15 02:34 勿忘初心0924 阅读(354) 评论(0) 推荐(0)
摘要:推箱子 Problem Description 推箱子是一个很经典的游戏.今天我们来玩一个简单版本.在一个M*N的房间里有一个箱子和一个搬运工,搬运工的工作就是把箱子推到指定的位置,注意,搬运工只能推箱子而不能拉箱子,因此如果箱子被推到一个角上(如图2)那么箱子就不能再被移动了,如果箱子被推到一面墙 阅读全文
posted @ 2017-02-14 09:15 勿忘初心0924 阅读(562) 评论(0) 推荐(0)
摘要:Picture Problem Description Give you the width and height of the rectangle,darw it. Input Input contains a number of test cases.For each case ,there a 阅读全文
posted @ 2017-02-14 03:48 勿忘初心0924 阅读(196) 评论(0) 推荐(0)
摘要:A == B ? Problem Description Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO". Input each test case contains tw 阅读全文
posted @ 2017-02-11 01:40 勿忘初心0924 阅读(242) 评论(0) 推荐(0)
摘要:Team Queue Problem Description Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is 阅读全文
posted @ 2017-02-05 22:14 勿忘初心0924 阅读(1701) 评论(0) 推荐(0)
摘要:Flipper Problem Description Little Bobby Roberts (son of Big Bob, of Problem G) plays this solitaire memory game called Flipper. He starts with n card 阅读全文
posted @ 2017-02-04 22:45 勿忘初心0924 阅读(347) 评论(0) 推荐(0)
摘要:Windows Message Queue Problem Description Message queue is the basic fundamental of windows system. For each process, the system maintains a message q 阅读全文
posted @ 2017-02-04 16:44 勿忘初心0924 阅读(342) 评论(0) 推荐(0)
摘要:看病要排队 Problem Description 看病要排队这个是地球人都知道的常识。不过经过细心的0068的观察,他发现了医院里排队还是有讲究的。0068所去的医院有三个医生(汗,这么少)同时看病。而看病的人病情有轻重,所以不能根据简单的先来先服务的原则。所以医院对每种病情规定了10种不同的优先 阅读全文
posted @ 2017-02-04 16:12 勿忘初心0924 阅读(868) 评论(0) 推荐(0)
摘要:简单计算器 Problem Description 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不 阅读全文
posted @ 2017-02-03 23:55 勿忘初心0924 阅读(237) 评论(0) 推荐(0)
摘要:ACboy needs your help again! Problem Description ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the 阅读全文
posted @ 2017-02-03 18:12 勿忘初心0924 阅读(180) 评论(0) 推荐(0)
摘要:Basic Data Structure Time Limit: 7000/3500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 982 Accepted Submission(s): 阅读全文
posted @ 2016-10-27 18:44 勿忘初心0924 阅读(607) 评论(0) 推荐(0)