码迷,mamicode.com
首页 >  
搜索关键字:jsp include    ( 101623个结果
ffmpeg save rtsp stream
#include #ifdef __cplusplusextern "C" {#endif#include #include //#include #ifdef _MSC_VERint strcasecmp(const char *s1, const char *s2){ while ((*s...
分类:其他好文   时间:2014-05-05 11:09:37    阅读次数:382
Linux 下搭建jsp服务器(配置jsp开发环境)
Linux做为服务器的高效一直时为人所熟知的了,在linux上搭建各种各样的服务器和开发环境也时学计算机的人常做的。以下时最近在linux配置jsp服务器的全过程,包含一些基本步骤和排错过程:1、安装javajdk首先从官网下载jdk解压包,下载最新版的tar.gz格式,下载完后进行解压缩:Tar-...
分类:Web程序   时间:2014-05-04 20:51:30    阅读次数:510
动态规划求解0-1背包
C代码实现如下: 1 #include 2 #include 3 4 int** DP(int num, int Weight, int*w, int *v); 5 void output(int *c, int *w, int weight, int **ptr, int num)...
分类:其他好文   时间:2014-05-04 10:09:07    阅读次数:269
C陷阱与缺陷 2
1,数组对数组只能进行两种操作,1确定数组的大小,2获得数组第一个元素的指针,其他的操作均是通过指针来实现的。123456789#include main(){int a[2][3]={{1,2,3},{4,5,6}};int *p,(*q)[3];p=a[2];q=a;}inta[2][3]={{...
分类:其他好文   时间:2014-05-04 10:04:48    阅读次数:236
LA 4513 Stammering Aliens 字符串hash
字符串hash模板, 本题是求,给定字符串s中至少出现m次的最长字符串长度,及此时起始位置的最大值 LA 4513 Stammering Aliens //#pragma warning (disable: 4786) //#pragma comment (linker, "/STACK:16777216") //HEAD #include #include #include #inc...
分类:其他好文   时间:2014-05-04 09:52:37    阅读次数:304
重定向C库中stdio文件中的printf()函数,文件流-->串口USART1
1、printf()函数: 我们以前在VC6.0中编程时,包含include头文件之后,调用printf()函数后可以向控制台传输(打印)一连串字符等。 若要在STM32上也想用printf()函数向指定的设备上传输(打印)一串数据的话,可以“重定向这个C库(stdio)printf()函数”来实现。 比如将其重定向到USART1上,即:printf()函数要输出的数据通过串口USART1发...
分类:其他好文   时间:2014-05-04 09:40:59    阅读次数:324
CF 427D Match & Catch 求最短唯一连续LCS
题目来源:CF 427D Match & Catch 题意:给出2个字符串 求最短的连续的公共字符串 并且该字符串在原串中只出现一次 思路:把2个字符串合并起来求height 后缀数组height的应用 #include #include #include using namespace std; const int maxn = 100010; char s[maxn]; int s...
分类:其他好文   时间:2014-05-04 09:32:45    阅读次数:315
SPFA(模板)
转载请注明出处: #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define pi acos(-1....
分类:其他好文   时间:2014-05-04 09:25:24    阅读次数:303
hud-3530-Subsequence-维护两个单调队列
维护两个单调队列,一个存储当前点之前的最大值。 另外一个存储当前点之前的最小值。 若最大值与最小值之间的差大于k,那么就把最大值和最小值中位置靠前的往后移。 #include #include #include #include #include using namespace std; //#define INF ((1<<30)-1) #define INF 0xfffff #defin...
分类:其他好文   时间:2014-05-04 09:23:04    阅读次数:372
poj 1270 Following Orders(拓扑排序+dfs)
大致题意:每个样例包含两行,第一行输入n个字符,可能是无序的。第二行输入成对的a b,代表a要在b前面。输出所有的符合这样的序列。 思路:很明显的拓扑排序。要输出所有的序列,那么就从入度为0的点进行dfs,每次选择一个入度为0的点,加入输出序列并把与它相邻的点的入度减一。dfs结束后要把状态再改回来。 #include #include #include #include #i...
分类:Windows程序   时间:2014-05-04 09:13:47    阅读次数:394
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!