题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=&problem=1706&mosmsg=Submission+received+with+ID+13561937
题意:给定n个点 常量m
下面给出无向边(输入-1 -1表示终止加边)
得到...
分类:
其他好文 时间:
2014-07-22 23:04:54
阅读次数:
392
[ 问题: ]
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were
inserted in order. You may assume no duplicates in th...
分类:
其他好文 时间:
2014-07-22 23:01:15
阅读次数:
270
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=502&page=show_problem&problem=3720
唯一值得一说的就是shift,变成循环就行
这道题主要是测试下我做的算法模板
先贴模板
/**********************************...
分类:
其他好文 时间:
2014-05-02 21:29:31
阅读次数:
345
首先把工具都下载好:1. Qt for
Android:http://qt-project.org/downloads2. Android
NDKhttp://developer.android.com/tools/sdk/ndk/index.html64位可以下载第二个3.Apache Ant
1...
分类:
移动开发 时间:
2014-05-02 16:45:43
阅读次数:
573
Given a sorted array and a target value, return
the index if the target is found. If not, return the index where it would be if
it were inserted in or...
分类:
其他好文 时间:
2014-05-02 09:54:11
阅读次数:
269
一 设置, 查看, 删除断点信息b xxx.cpp : num(or function)在
xxx.cpp 的第 num 行设置断点, 假如项目中只有一个 .cpp 文件, 不需要指定 xxx.cpp, 直接 b num 即可info break
查看断点信息, 断点信息中有断点的 index, 通...
分类:
数据库 时间:
2014-05-01 21:09:59
阅读次数:
433
一、安装 JDK 下载JDK最新版本,下载地址如下:
http://www.oracle.com/technetwork/java/javase/downloads/index.html 二、下载并安装
Eclipse http://www.eclipse.org/downloads/
分类:
移动开发 时间:
2014-05-01 21:03:30
阅读次数:
560
参考boke:http://blog.csdn.net/hguisu/article/details/71061591 .where 语句里面如果带有or条件,
myisam表能用到索引, innodb不行。(在mysql5.6下测试如此)CREATE TABLE IF NOT EXISTS `a`...
分类:
数据库 时间:
2014-05-01 20:58:57
阅读次数:
601
public function index(){
header('Content-Type:text/html;charset=utf-8 ');
$M = M("Constant");
$count = $M->where($where)->count();
import("ORG.Util.Page"); // 导入分页类
...
分类:
Web程序 时间:
2014-04-30 22:27:39
阅读次数:
343
链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=36
叼伱个扑街,对呢道题真系无语,,提交5次都过唔到,唔相信既话,伱地可以试下啦。。。
偶噶代码:
#include
#include
#include
#include
...
分类:
其他好文 时间:
2014-04-30 22:16:39
阅读次数:
319