求路径中权重最小的点
#include
#include
#include
#include
#include
using namespace std;
typedef long long ll;
#define N 80010
int vis[N],mark[N],first[N],ver[N*2];
int val[N];
int dis[N];
int deep[N*2];
i...
分类:
其他好文 时间:
2014-12-14 09:29:40
阅读次数:
156
更确切的是读http://www.cnblogs.com/tornadomeet/archive/2013/03/14/2959138.html 写得博客的读后感加自己的理解。蓝色字体是自己的理解。模型表达就是给出输入和输出之间的函数关系式,当然这个函数是有前提假设的,里面可以含有参数。此时如果有许...
分类:
其他好文 时间:
2014-12-13 17:39:56
阅读次数:
262
持续更新中……DLT是香港科大的Naiyan Wang和Dit-Yan Yeung提出的,文章和代码见 http://winsty.net/dlt.html相关论文是 Learning A Deep Compact Image Representation for Visual Tracking (...
分类:
其他好文 时间:
2014-12-13 16:29:26
阅读次数:
249
题目
A linked list is given such that each node contains an additional random pointer which could point to
any node in the list or null.
Return a deep copy of the list.
解答
题目要求拷贝一个链表,该链表除了一个next...
分类:
其他好文 时间:
2014-12-12 16:45:27
阅读次数:
210
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-12-12 06:40:38
阅读次数:
205
题目要求是,修改练习2.18所做的reverse过程,得到一个deep-reverse过程。它以一个表为参数,返回另一个表作为值,结果表中的元素反转过来,其中的子树也反转。例如:(define x (list (list 1 2) (list 3 4)))x((1 2) (3 4))(reverse...
分类:
其他好文 时间:
2014-12-10 17:45:27
阅读次数:
131
关注DeepLearning,主要以Theano官方教程Deep Learning Tutorial为参考。...
分类:
其他好文 时间:
2014-12-09 19:39:12
阅读次数:
1069
Jungle OutpostTime limit: 15.000 secondsDescriptionThere is a military base lost deep in the jungle. It is surrounded bynwatchtowers with ultrasonic g...
分类:
其他好文 时间:
2014-12-08 21:04:51
阅读次数:
264
最近使用Theano写了MLP和CNN的程序,由于训练样本大,单靠CPU运算速度so slow;于是乎找到了一台有NAIVID显卡的电脑进行了GPU的配置使用,期间遇到很多问题,记录如下:
平台说明:
系统:WindowsXP
Python:2.7, 建议直接使用 Python(x,y),包含了Theano需要的Numpy等库,省去自己配置
Theano: 0.6
CUDA:3....
分类:
其他好文 时间:
2014-12-06 15:25:07
阅读次数:
228
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-12-03 13:47:22
阅读次数:
151