码迷,mamicode.com
首页 >  
搜索关键字:oid    ( 16201个结果
Bellman算法
#include #include #define maxn 1000 #define inf 0x3fffffff using namespace std; struct Edage { int from; int to; int cost; }es[maxn]; int d[maxn]; int... ...
分类:编程语言   时间:2017-02-03 16:57:52    阅读次数:146
static变量
#include<stdio.h> void AddOne() { staic int ilnt=1; ilnt=ilnt+1; printf("%d\n",ilnt); } int main() { printf("第一次调用: "); AddOne(); printf("第二次调用: "); A ...
分类:其他好文   时间:2017-02-03 11:12:39    阅读次数:167
Path Sum III Leetcode
You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need t ...
分类:其他好文   时间:2017-02-03 10:35:44    阅读次数:175
Spring 容器
1.Spring容器 Spring容器最基本的接口就是BeanFactory, 负责配置,创建和管理bean。我们通常不直接使用BeanFactory接口,而是使用其子接口ApplicationContext. 接口ApplicationContext常用实现类是FileSystemXmlAppli ...
分类:编程语言   时间:2017-02-03 10:34:12    阅读次数:267
SPOJ - GSS1&&GSS3
GSS1 GSS3 ...
分类:其他好文   时间:2017-02-02 21:47:51    阅读次数:360
android ROM刷机updater-script单刷补丁包脚本
附件:https://pan.baidu.com/s/1ctezAe ...
分类:移动开发   时间:2017-02-02 20:57:24    阅读次数:236
android进入adb shell步骤及修改sqlite数据库文件的权限
1 准备工作 (1)将adb.exe从 \Sdk\platform-tools目录下移动到 \Sdk\tools目录下(主要是看emulator这几个文件在哪个文件夹就把adb.exe移动到哪个文件夹); (2)将sqlite3.exe从 \Sdk\platform-tools目录下移动到 \Sdk ...
分类:移动开发   时间:2017-02-02 20:49:48    阅读次数:501
Hibernate4获得Session
在Hibernate3中获取Session的方法: 前提是类要继承HibernateDaoSupport: 在Hibernate4中,仍然需要继承HibernateDaoSupport,但是不能再this.getSession()了,只能通过SessionFacotry获得Session。首先要获得 ...
分类:Web程序   时间:2017-02-02 19:56:07    阅读次数:220
Qt版本中国象棋开发(一)
开发目的:实现象棋人机对战简单AI,网络对战,移植到android中。 开发平台:windows10 + Qt5.4 for android 开发语言:C++ 开发过程:1.棋盘绘制; 方法一:重写 paintEvent(QPaintEvent *) 虚函数,调用QPainter painter(t ...
分类:其他好文   时间:2017-02-02 16:29:19    阅读次数:200
Bzoj1901 Zju2112 Dynamic Rankings
Description 给定一个含有n个数的序列a[1],a[2],a[3]……a[n],程序必须回答这样的询问:对于给定的i,j,k,在a[i],a[i+1],a[i+2]……a[j]中第k小的数是多少(1≤k≤j-i+1),并且,你可以改变一些a[i]的值,改变后,程序还能针对改变后的a继续回答 ...
分类:其他好文   时间:2017-02-02 12:59:42    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!