码迷,mamicode.com
首页 > 其他好文
poj1523赤裸裸的割点
这题真是没什么好说的。。。赤裸裸的求割点直接模板上 1 #include 2 #include 3 #include 4 #include 5 #define maxn 1100 6 7 using namespace std; 8 9 vector g[maxn];10 int dfn[max.....
分类:其他好文   时间:2015-04-14 22:48:01    阅读次数:156
滤波器的时域理解
刚接触数字滤波器概念的时候,从频域理解是最直观的。但是在很多时候,比如说大部分的教科书在描述数字滤波器的时候,往往是从时域描述开始的。在时域来描述滤波器的工具是卷积。 卷积可以说是数字信号处理中最重要也最基本的概念之一了,但由于其更多依赖数学公式,因此也往往不易被理解。要在时域理解滤波器的工作过程....
分类:其他好文   时间:2015-04-14 22:48:08    阅读次数:126
Pav Metro Store OpenCart 自适应主题模板 ABC-0215
Pav Metro Store OpenCart 自适应主题模板 ABC-0215 模板特性 OpenCart版本 1.5.4.1, 1.5.5, 1.5.5.1, 1.5.6 包含文件 PHP Files, CSS Files, JS Files,PSD Files...
分类:其他好文   时间:2015-04-14 21:44:35    阅读次数:149
初次使用VEG库的小结
首先在VEGA的官网:http://run.usc.edu/vega/?下载到安装包。 ??? 解压以后得到如下文件: ? 查看其中的 INSTALL.txt 可以看到使用的基本步骤,其中即可以直接在当前目录下运行 ./build ?来完成编译...
分类:其他好文   时间:2015-04-14 21:45:04    阅读次数:124
From Zero to HIPster (Haskell In Production)
(TL,DR) We‘re building a micro-service platform christened?Hasura.io?(alpha release scheduled in summer 2015), and we used Haskell as the core programming language to build it.? This is a post f...
分类:其他好文   时间:2015-04-14 21:46:10    阅读次数:215
nginx location 的配置
一、基本语法:location [=|~|~*|^~] /uri/ { … } 二、分类:  1.基本location:以“?=?”或“?^~?”为前缀或者没有任何前缀的?/uri/?  2.正则location:以“?~?”或“?~*?”为前缀的?/uri/  基本...
分类:其他好文   时间:2015-04-14 21:45:59    阅读次数:141
题目1123:采药
题目描述: 辰辰是个很有潜能、天资聪颖的孩子,他的梦想是称为世界上最伟大的医师。 为此,他想拜附近最有威望的医师为师。医师为了判断他的资质,给他出了一个难题。 医师把他带到个到处都是草药的山洞里对他说: “孩子,这个山洞里有一些不同的草药,采每一株都需要一些时间,每一株也有它自身的价值。 我会给你一段时间,在这段时间里,你可以采到一些草药。如果你是一个聪明的孩子,你应该可以让采到的草药...
分类:其他好文   时间:2015-04-14 21:44:51    阅读次数:145
华容道01--分析
一直想写一个华容道的游戏,现在就通过学习Cocos2D3.x写一个华容道的游戏吧。 这个游戏的要求是,最后生成安卓项目,安装到自己的手机上玩玩吧! 开发周期初步定在2-3天。     华容道有多种开局方式,不同的开局方式就是不同的关卡,所以需要有一个选关界面。   再就是游戏界面。   在华容道中,每个元素所占的空间是一定的,兵是最小的,也是最基本的单位,最大的占四个单位空间,然...
分类:其他好文   时间:2015-04-14 21:44:02    阅读次数:163
蚂蚁搬家(改进版)
改进版蚂蚁爬杆(二进制加法器模拟)...
分类:其他好文   时间:2015-04-14 21:43:53    阅读次数:136
LightOJ 1380 – Teleport 【最小树形图】
题目链接:http://www.lightoj.com/volume_showproblem.php?problem=1380最小树形图也就是有向图的最小生成树。普通的prim无法求解。#include #include #include #include #include #include <qu...
分类:其他好文   时间:2015-04-14 21:42:14    阅读次数:179
hdu1028Ignatius and the Princess III
Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 14724    Accepted Submission(s): 10371 Problem Description "Well, it seems the first pro...
分类:其他好文   时间:2015-04-14 21:43:03    阅读次数:172
NYOJ 30 && POJ 1042 Gone Fishing(枚举+贪心)
【题目链接】:Click here~~ 【题目大意】: 一个人去钓鱼,在一条单向路上的旁边有n个湖,并且从湖i到湖i+1需要ti的时间,每个湖里面有fi条鱼,每钓一次鱼,鱼会减少di条。在给定时间T内,问如何才能使钓的鱼最多,并记录在各个湖上停留的时间。 【解题思路】 此题细节处理好多麻烦,一定要认真看清题意,POJ WA了无数遍,纠结一天。参考了别人的题解,思路如下: 首先须注...
分类:其他好文   时间:2015-04-14 21:42:07    阅读次数:178
LeetCode --- 96. Unique Binary Search Trees
题目链接:Unique Binary Search Trees Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example, Given n = 3, there are a total of 5 unique BST's. 1 ...
分类:其他好文   时间:2015-04-14 21:41:56    阅读次数:139
LeetCode --- 97. Interleaving String
题目链接:Interleaving String Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", return true. When ...
分类:其他好文   时间:2015-04-14 21:40:31    阅读次数:196
LeetCode --- 98. Validate Binary Search Tree
题目链接:Validate Binary Search Tree Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with ...
分类:其他好文   时间:2015-04-14 21:41:20    阅读次数:118
LeetCode --- 99. Recover Binary Search Tree
题目链接:Recover Binary Search Tree Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty stra...
分类:其他好文   时间:2015-04-14 21:39:52    阅读次数:189
ZOJ File Searching(字符串)
ZOJ File Searching(字符串)...
分类:其他好文   时间:2015-04-14 21:39:08    阅读次数:164
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!