码迷,mamicode.com
首页 >  
搜索关键字:room    ( 611个结果
20170928习题
ex36#分支和函数from sys import exit #导入system模块中的exit函数def gold_room(): #定义金子房间的函数 print("this room is full of gold,how much do you take?") next = input("> ...
分类:其他好文   时间:2017-09-29 00:29:54    阅读次数:171
Codeforces Round #355 (Div. 2) D. Vanya and Treasure 分治暴力
D. Vanya and Treasure D. Vanya and Treasure Vanya is in the palace that can be represented as a grid n?×?m. Each room contains a single chest, an the ...
分类:其他好文   时间:2017-09-28 22:24:04    阅读次数:278
后缀数组小结?
做了一圈(就那么几道还叫一圈)$SA$的题,小结一下,方便自己看 [NOI2016]优秀的拆分 1 #include<iostream> 2 #include<cstring> 3 #include<cstdio> 4 using namespace std; 5 #define mem(x) me ...
分类:编程语言   时间:2017-09-28 21:38:49    阅读次数:242
nodejs 打造 多人对战游戏服务器(初级入门)
使用socket.set 和 socket.get 在存取玩家信息 百牛信息技术bainiu.ltd整理发布于博客园 转发 和处理 玩家的输入 }); //Network.on 定义一个简单的玩家对象 // isAI: false, room: null }; newplayer.proto = P ...
分类:Web程序   时间:2017-09-18 10:48:12    阅读次数:318
New Concept English Two 20 52
$课文50 乘车兜风 510. I love travelling in the country, but I don't like losing my way. 我喜欢在乡间旅行,但却不愿意迷路。 511. I went on an excursion recently, but my trip ...
分类:其他好文   时间:2017-09-08 10:15:22    阅读次数:192
LeetCode 286: Walls and Gates
Note: Need to skipp the 0 element update room but cannot skip BFS from that point ...
分类:其他好文   时间:2017-09-07 14:58:10    阅读次数:104
UVa 1354 天平难题 (枚举二叉树)
题意: 分析: 其实刚看到这题的时候觉得很难, 以至于结束了第七章然后去做了一遍第六章树的部分。现在再做这题觉得思路并不是太难,因为总共就只有六个结点,那么只要枚举二叉树然后算出天平然后再从叶子往上推就能得出这棵树的宽度。这题我觉得主要难点是如何去枚举二叉树,其实这就是回溯法的核心。先去dfs选这个 ...
分类:其他好文   时间:2017-09-03 16:06:46    阅读次数:298
POJ A Plug for UNIX (最大流 建图)
Description You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX), which has an int ...
分类:其他好文   时间:2017-09-03 11:02:26    阅读次数:189
mysql调优参考笔记
之前一位童鞋发的: 5版邮件,在用户量很大的情况下,如果做了分布式,如果在后端mysql上执行: mysql> show global status like 'Thread%'; Threads_cached 0 Threads_connected 793 Threads_created 2397 ...
分类:数据库   时间:2017-08-28 00:51:04    阅读次数:296
oc46--nonatomic, retain
// // Person.h #import #import "Room.h" #import "Car.h" #import "Dog.h" @interface Person : NSObject { Room *_room; Car *_car; Dog *_dog; } /* - (void... ...
分类:其他好文   时间:2017-08-25 14:52:52    阅读次数:161
611条   上一页 1 ... 24 25 26 27 28 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!