码迷,mamicode.com
首页 >  
搜索关键字:point    ( 7079个结果
习题单词数字匹配
习题单词数字匹配 /** * 功能:选择一组等长的英文单词,将输入的数字串转化成相应的字符,和有的单词进行匹配 * 时间: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
MFC简单的橡皮筋程序
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
RMAN Table Point In Time Recovery (PITR) in PDBs
1.首先使用RMAN做一次备份(必需有次备份) rman target / backup database; or backup database root; backup pluggable database pdb; 2.在pdb中创建test用户并授权 sqlplus / as sysdba alter session set container=pdb; cr...
分类:数据库   时间:2014-06-11 00:37:06    阅读次数:403
[leetcode]Container With Most Water @ Python
原题地址:https://oj.leetcode.com/problems/container-with-most-water/题意:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordina...
分类:编程语言   时间:2014-06-10 20:05:44    阅读次数:213
TOMCAT启动提示NB: JAVA_HOME should point to a JDK not a JRE解决
本人使用的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
codeforces Round #252 (Div. 2) C - Valera and Tubes
贪心算法,每条路径最短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
hdu 4460
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
[LeetCode OJ] Max Points on a Line—Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.
//定义二维平面上的点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
LeetCode: Container With Most Water 题解
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!