Leapin' Lizards Problem Description Your platoon of wandering lizards has entered a strange room in the labyrinth you are exploring. As you are lookin ...
分类:
其他好文 时间:
2017-02-07 16:03:16
阅读次数:
214
Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), find the minimum number of conference room ...
分类:
其他好文 时间:
2017-02-03 14:39:04
阅读次数:
270
Codeforces Round #394 (Div. 2) 总结:有毒的一场比赛。做了三题,结果A被叉,B、C挂综测,还hack失败一发,第一次在CF体会到了-50分的感觉。。不知道是不是人品好,比赛时room炸了,然后,unrated。。 A 水题,判一下0 0,然后abs(a-b)<=1 B ...
分类:
其他好文 时间:
2017-02-01 22:26:26
阅读次数:
169
Learn from yesterday, live for today, look to tomorrow. 学习昨天,活在今天,展望明天。 There is always room at the top. 即使到达顶峰,也还有进步的空间。 ...
分类:
其他好文 时间:
2017-01-26 00:08:33
阅读次数:
193
有用的词: hotel reservation/booking: 酒店预订 standard room:标准间 suite: 套房 king size bed: 大床房 double bed:双床房 extra bed/cot: 加床 crib: 宝宝床、婴儿床 checking in on...c ...
分类:
其他好文 时间:
2017-01-19 19:27:01
阅读次数:
295
http://poj.org/problem?id=3084 (题目链接) 题意 一个房子里面有m个房间,一些房间之间有门相连,而门的开关只在一个房间有,也就是说只有一个房间可以控制该扇门的开关。现在一些房间出现了入侵者,问最少需要关紧几扇门才能够保护第n号房间。 Solution 最少关闭多少扇门 ...
分类:
其他好文 时间:
2016-12-24 01:40:15
阅读次数:
145
class Room: tag=1 def __init__(self,name,owner,width,length,heigh): self.name=name self.owner=owner self.width=width self.length=length self.heigh=hei... ...
分类:
其他好文 时间:
2016-12-22 11:56:14
阅读次数:
166
class Room: tag=1 def __init__(self,name,owner,width,length,heigh): self.name=name self.owner=owner self.width=width self.length=length self.heigh=hei... ...
分类:
其他好文 时间:
2016-12-22 11:26:16
阅读次数:
164
http://poj.org/problem?id=1979 Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is ...
分类:
其他好文 时间:
2016-12-07 20:03:53
阅读次数:
304
1.使用Objective-C开发iOS程序时,最好在每个类名前面加一个前缀,用来标识这个类的“老家”在哪 2.目的是防止N个人开发了一样的类,冲突了 比如Jake Will、Kate Room在同一个项目中都各自开发了个Button类,这样的程序是不能运行起来的 解决方案:Jake Will的类名 ...
分类:
其他好文 时间:
2016-12-04 00:06:00
阅读次数:
194