码迷,mamicode.com
首页 >  
搜索关键字:opened    ( 2253个结果
java.io.FileNotFoundException: class path resource ..cannot be opened because it does not exist
java.io.FileNotFoundException: class path resource ..cannot be opened because it does not exist 异常如下: java.io.FileNotFoundException: class path resour... ...
分类:编程语言   时间:2017-05-06 13:15:33    阅读次数:155
React子组件和父组件通信
React子组件和父组件通信包括以下几个方面: 我们从下面这个例子来详细了解: 1 var Father=React.createClass({ 2 getDefaultProps:function(){ 3 return { 4 name:"父组件" 5 } 6 }, 7 MakeMoney:fu ...
分类:其他好文   时间:2017-05-06 13:13:41    阅读次数:303
poj:1850 Code(组合数学?数位dp!)
题目大意:字符的字典序依次递增才是合法的字符串,将字符串依次标号如:a-1 b-2 ... z-26 ab-27 bc-52。 为什么题解都是组合数学的...我觉得数位dp很好写啊(逃 f[pos][pre]前pos位,前一位是pre有几个满足条件的字符串,其实等同于这个字符串的序号是多少 好像数位 ...
分类:其他好文   时间:2017-05-06 11:40:12    阅读次数:107
c语言坑之printf缓冲区
1 #include <stdio.h> 2 #include <pthread.h> 3 #include <semaphore.h> 4 #include <unistd.h> 5 #define MAXSTACK 100 6 int stack[MAXSTACK][2]; 7 int size ...
分类:编程语言   时间:2017-05-06 00:59:50    阅读次数:254
倍增法求LCA
倍增法求LCA LCA(Least Common Ancestors)的意思是最近公共祖先,即在一棵树中,找出两节点最近的公共祖先。 倍增法是通过一个数组来实现直接找到一个节点的某个祖先,这样我们就可以在O(logn)的时间内求出求出任意节点的任意祖先。 然后先把两个节点中转化为深度相同的节点,然后 ...
分类:其他好文   时间:2017-05-05 18:26:29    阅读次数:120
docker 命令补全
补全: 安装docker自带包: source /usr/share/bash-completion/completions/docker 缺少下面的包,TAB会报错 yum install -y bash-completion sh /usr/share/bash-completion/bash_ ...
分类:其他好文   时间:2017-05-05 00:54:52    阅读次数:213
AJAX 学习笔记 2017_05_04
1、使用 AJAX 修改该文本内容 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <% 4 String path = request.getContextPa ...
分类:Web程序   时间:2017-05-04 18:36:04    阅读次数:256
树的重心
部分转载自:http://blog.csdn.net/u013076044/article/details/45915745 定义 找到一个点,其所有子树中最大的子树节点数最少,那么这个点就是整棵树的重心。 在树的总点数为偶数时,可能会有两个重心。 性质 性质 1 :树中所有点到某个点的距离和中,到 ...
分类:其他好文   时间:2017-05-04 16:18:30    阅读次数:113
HustOJ - 1012
1 #include<stdio.h> 2 #include<math.h> 3 int main() 4 { 5 unsigned int a,b,t,i,s,v,n=0; 6 for (;scanf("%d%d",&a,&b)==2;) 7 { 8 if (a>b) 9 { 10 t=a; 11 ...
分类:其他好文   时间:2017-05-04 13:27:59    阅读次数:148
HustOJ - 1007
1 #include<stdio.h> 2 int main () 3 { 4 long long a,b,s; 5 6 while(scanf("%lld%lld",&a,&b)==2) 7 { 8 s=a-b; 9 printf("%lld\n",s); 10 } 11 12 return 0; ...
分类:其他好文   时间:2017-05-04 13:26:03    阅读次数:138
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!