代码插入测试html,body{height:100%;width:100%;}.top{position:fixed;}图片插入测试(应为原始大小)更新于2014/6/3
分类:
其他好文 时间:
2014-06-04 14:52:35
阅读次数:
203
编辑/etc/rsyslog.d/50-default.conf其中有这么一段*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\ cron,daemon.none;\ mail,news.none -/var/log/messages保存后重...
分类:
其他好文 时间:
2014-06-03 14:33:38
阅读次数:
352
从一开始学离散化就对它没有半毛钱好感,感觉出这种题纯属恶心人。
可以将Top x全部取出来然后离散化,缩点。剩下的就是伸展了,不再赘述。
也有人拿线段树过,一直没有想明白. . .
#include
#include
#include
#include
#include
#include
#include
#include
#include
#pragma comment...
分类:
其他好文 时间:
2014-06-02 23:24:50
阅读次数:
338
本题使用动态规划法, 或者记忆法,加上递归法。
不加上递归法,好像很麻烦,因为我们不知道其初始值,只知道其最终值,所以只能往下递推了,这样使用记忆法就比动态规划要方便了。
使用二维表设计其递归记忆表,防止重复计算。还是十分困难的,动态规划法有时候不一定比记忆法要好。
递归记忆法的学名: top-down with memoization; Introduction to Algorithm的Dynamic programming 这章有介绍...
分类:
其他好文 时间:
2014-06-02 23:04:24
阅读次数:
397
ProblemYou want your UI components to have
gravity, so that if they are dragged up to the top of the screen, they will
descend on their own. Combining...
分类:
其他好文 时间:
2014-06-02 20:01:49
阅读次数:
243
Paper:
ImageNet Classification with Deep Convolutional Neual Network
Achievements:
The model addressed by Alex etl.
achieved top-1 and top-5 test error rate of
37.5% and
17.0% of classifyin...
分类:
Web程序 时间:
2014-06-02 15:08:24
阅读次数:
369
求出强联通分量之后判断出度为0的点有几个,有1个就输出这个分量的点的数目,否则输出0;var
i,j,n,m,x,y,ans1,ans2,t,cnt,top:longint; head,next,go,sta,inp:array[0..50010] of
longint; low,dfn...
分类:
移动开发 时间:
2014-06-02 11:38:57
阅读次数:
220
public abstract
classWindowextendsObjectjava.lang.Object?android.view.WindowClass
OverviewAbstract base class for a top-level window look and behavior...
本章要点: 基础:进程描述及控制 策略:进程调度 实现:互斥与同步 避免:死锁与饥饿进程定义:
可并发执行的程序,在一个数据集合上的运行过程; 申请/拥有资源的最小单位; 程序定义:静态概念,是指令和数据的集合,可长期存储; 进程与程序对应关系:
一个程序可以对应一个进程或者多个进...
分类:
其他好文 时间:
2014-06-01 12:09:07
阅读次数:
210
思路:在自定义shape中增加一层或多层,并错开,即可显示阴影效果。为增加立体感,按钮按下的时候,只设置一层。我们可以通过top, bottom, right 和 left 四个参数来控制阴影的方向和大小。关系图以下自定义两种阴影效果:res/drawable-hdpi/shadow1.xml
...
分类:
移动开发 时间:
2014-06-01 11:18:34
阅读次数:
320