习题单词数字匹配
/**
* 功能:选择一组等长的英文单词,将输入的数字串转化成相应的字符,和有的单词进行匹配
* 时间:2014年6月4日14:25:20
* 作者:cutter_point
*/
package com.lesson4;
import java.util.*;
public class Demo4_7
{
//初始化String数组s1
/*
s1[0]="...
分类:
其他好文 时间:
2014-06-29 07:36:24
阅读次数:
162
冒泡排序
/**
* 功能:定义一个一维整数数组,其中存储随机生成的100个整数,升幂排序
* 时间:2014年6月4日15:30:38
* 作者:cutter_point
*/
package com.lesson4;
import java.util.*;
public class Demo4_8
{
public static void main(String [] ar...
分类:
其他好文 时间:
2014-06-20 12:29:00
阅读次数:
203
void CMainWindow::OnLButtonDown(UINT nFlags,CPoint
point){ //以下三个是在CMainWindow中定义 m_ptFrom=point; m_ptTo=point; m_track=TRUE;}void
CMainWi...
分类:
其他好文 时间:
2014-06-11 12:03:13
阅读次数:
1160
本人使用的Tomcat版本为apache-tomcat-6.0.18(用的是解压包),解压路径为E:\apache-tomcat-6.0.18\apache-tomcat-6.0.18\,我如果部署在myEclipse里启动可以正常启动,当然也可以访问我的工程,但是如果我直接在tomcat源文件b....
分类:
编程语言 时间:
2014-06-10 08:32:35
阅读次数:
264
贪心算法,每条路径最短2格,故前k-1步每次走2格,最后一步全走完由于数据比较小,可以先打表#include
#include #include #include using namespace std;typedef pair Point;int main(){
int n, m, k, f...
分类:
其他好文 时间:
2014-06-10 00:33:15
阅读次数:
302
break point 在
边数很少,o(n*m)暴力出奇迹~~~#include#include#include#include#include#include#includeusing
namespace std;const int maxn = 1005, maxm = 22222, inf=...
分类:
其他好文 时间:
2014-06-09 23:00:47
阅读次数:
342
//定义二维平面上的点struct Point{ int x; int y;
Point(int a=0, int b=0):x(a),y(b){}};bool operator==(const Point& left,
const Point& right){ return...
分类:
其他好文 时间:
2014-06-08 22:26:17
阅读次数:
357
什么是 yum? yum 是 yellowdog updater modified
的缩写。yellowdog 是一个 Linux 的 distribution,RH 将这种升级技术利用到自己的 distribution 形成了现在的
yum,感觉上 yum 和 apt 的原理类似,但是 apt ....
分类:
系统相关 时间:
2014-06-08 08:07:52
阅读次数:
310
Givennnon-negative integersa1,a2, ...,an, where
each represents a point at coordinate (i,ai).nvertical lines are drawn such that
the two endpoints of ...
分类:
其他好文 时间:
2014-06-07 23:03:35
阅读次数:
279
A basic requirement is that the function should
provide a uniform distribution of hash values. A non-uniform distribution
increases the number of coll...
分类:
其他好文 时间:
2014-06-07 16:58:29
阅读次数:
240