码迷,mamicode.com
首页 >  
搜索关键字:door    ( 157个结果
array数组‘查找’操作
1.数组中是否存在某元素: echo '数组的操作1:in_array($value,$array,$type)'; //$type:是否对$value的值进行类型匹配 true/false,默认值是 false $arr=array("name"=>"DOOR",32); (in_array("32",$arr))? $v="存在" : $v= "不存在"; echo "".$v;   代...
分类:编程语言   时间:2015-01-07 23:36:54    阅读次数:193
ZOJ3640----Help Me Escape
Help Me Escape Time Limit: 2 Seconds      Memory Limit: 32768 KB Background     If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. And unto th...
分类:其他好文   时间:2014-12-20 16:56:16    阅读次数:207
Python逃生游戏
从上看到的例子,小人在石头上跑跳直到达到门 我做了以下改进: 1. 模块化: helper.py 含有基类以及碰撞检测函数man.py 小人door,py 门stone.py 脚踩的石头game.py 主函数,初始化canvas,游戏主循环 2. 修复一个Bug,原先人踩在石头上会掉下来 if btm and falling and self.y == 0 and (co....
分类:编程语言   时间:2014-11-29 13:19:22    阅读次数:407
POJ 1300 Door Man(判断能否构成欧拉图)
题目描述:  你是一座大庄园的管家。庄园有很多房间,编号为 0、1、2、3,...。你的主人是一个心不在 焉的人,经常沿着走廊随意地把房间的门打开。多年来,你掌握了一个诀窍:沿着一个通道,穿 过这些大房间,并把房门关上。你的问题是能否找到一条路径经过所有开着门的房间,并使得: 1) 通过门后立即把门关上; 2) 关上了的门不再打开; 3) 后回到你自己的房间(房间 0),并且所有的门都已经关闭了...
分类:其他好文   时间:2014-11-11 16:34:05    阅读次数:255
C#面向对象编程-计算两个数的加减乘除
1.需求分析示例 名词提炼法: 示例:人开门 1.提取类 名词:人、门 类:人类、门类 2.分析每个类中应该有哪些方法或者属性 方法:开 那么“开”属于哪个类? 分析人和门谁最知道开这个动作,什么情况下才能使用开,门最清楚开的具体操作,等等一系列的分析,最终“开”属于门类。 3.门类示例代码 class Door { ...
分类:Windows程序   时间:2014-11-10 20:00:36    阅读次数:261
[HDU]5094Maze(状态压缩BFS)
状态压缩的题,第一次WA了,怎么改都不对,交了十几遍,之后重新写了一个,1A了 #include #include #include #include using namespace std; const int maxn = 51; const int dir[4][2] = {{0,1},{-1,0},{0,-1},{1,0}}; int n,m,t; int door[maxn][maxn...
分类:其他好文   时间:2014-11-08 23:39:18    阅读次数:255
uva672
GangstersNgangsters are going to a restaurant. Thei-th gangster comes at the timeTiand has theprosperityPi. The door of the restaurant hasK+1 states o...
分类:其他好文   时间:2014-11-08 13:21:59    阅读次数:239
Exercise 31: Making Decisions
print "You enter a dark room with two doors. Do you go through door #1 or door #2?"door = raw_input("> ")if door == "1": print "There's a giant bear ....
分类:其他好文   时间:2014-10-24 18:34:08    阅读次数:242
POJ1300(欧拉回路)
Door Man Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 2139   Accepted: 858 Description You are a butler in a large mansion. This mansion has so many rooms...
分类:其他好文   时间:2014-10-22 01:07:22    阅读次数:399
Combination Lock
时间限制:10000ms单点时限:1000ms内存限制:256MB描述Finally, you come to the interview room. You know that a Microsoft interviewer is in the room though the door is lo...
分类:其他好文   时间:2014-10-20 00:32:35    阅读次数:291
157条   上一页 1 ... 12 13 14 15 16 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!