题目:Problem Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too....
分类:
其他好文 时间:
2014-09-07 10:57:54
阅读次数:
257
All 6 sides of a cube are to becoated with paint. Each side is is coated uniformly with one color. When a selectionof n different colors of paint is available, how many different cubes can youmake?
...
分类:
其他好文 时间:
2014-09-06 20:03:53
阅读次数:
254
Description
Problem B
Cubes
You are given 12 rods of equal length. Each of them is colored in certain color. Your task is to determine in how many different ways one can construct a cube...
分类:
其他好文 时间:
2014-09-06 17:27:53
阅读次数:
253
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:
其他好文 时间:
2014-09-06 05:27:32
阅读次数:
203
几个问题:1.libevent到底用的是select还是iocp,然后是如何突破64限制的typedef struct fd_set { u_int fd_count; /* how many are SET? */ SOCKET fd_...
分类:
其他好文 时间:
2014-09-05 14:15:41
阅读次数:
191
阻止用户从未经授权的位置安装设备驱动程序。 组策略 。。。too long too see directly.what determins when a drivers i s load.specifying driver laod order./ load order group for file...
分类:
其他好文 时间:
2014-09-05 14:09:41
阅读次数:
222
今天使用phpmyadmin的导入功能的时候,由于sql文件过大,服务器出现错误提示了,413RequestEntityToo
Large,google了一下,发现是Nginx的错误提示。解决方法:打开nginx主配置文件nginx.conf,找到http{}段,添加
client_max_body_size100m;fedora下vi/etc/nginx/nginx.conf重..
分类:
其他好文 时间:
2014-09-05 03:16:31
阅读次数:
241
观察者模式(Observer Pattern)在项目中经常会被使用到,也被叫做发布订阅模式,也就是说 观察者 = 发布者 + 订阅者
GoF的《设计模式》中对观察者是这样描述的:
Define a one-to-many dependency between objects so that when one object changes state, all its depende...
分类:
其他好文 时间:
2014-09-05 01:00:30
阅读次数:
373
传送门Seek the Name, Seek the FameTime Limit: 2000MSMemory Limit: 65536KDescriptionThe little cat is so famous, that many couples tramp over hill and dal...
分类:
其他好文 时间:
2014-09-04 22:03:40
阅读次数:
240
EventEmitter是nodejs核心的一部分。很多nodejs对象继承自EventEmitter,用来处理事件,及回调。api文档地址:http://nodejs.org/api/events.html#events_class_events_eventemitterEvent:Many ob...
分类:
Web程序 时间:
2014-09-03 22:39:07
阅读次数:
312