首页 > 2015年08月12日 > 全部分享
[Leetcode] Combination Sum II
实际上这里的道理和Combination Sum是一样的,只是对于每个元素的次数我们不需要在每次递归的时候进行计算上限,因为题目限制了最多的出现次数。其他类似。 1 import java.util.*; 2 3 public class Solution { 4 private void...
分类:其他   时间:2015-08-12 21:33:32    收藏:0  评论:0  赞:0  阅读:130
POJ 1789 Truck History
Truck HistoryDescriptionAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture...
分类:其他   时间:2015-08-12 21:33:22    收藏:0  评论:0  赞:0  阅读:169
结构体 练习
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace 结构体__练习{ class Program { ...
分类:其他   时间:2015-08-12 21:33:02    收藏:0  评论:0  赞:0  阅读:96
eclipse中添加插件
第一步:得到hadoop-eclipse-plugin-1.2.1.jar文件有两种方式:1.在hadoop安装目录的src/contrib/eclipse-plugin目录下运行以下命令生成eclipse插件: ant -D/opt/eclipse -D1.2.1(命令的第一个D后面是eclips...
分类:系统服务   时间:2015-08-12 21:32:52    收藏:0  评论:0  赞:0  阅读:238
linux下使用qq————pidgin-lwqq 源码安装详细教程
今天费了不少功夫终于安装了pidgin——lwqq,可以在linux上使用qq了lwqq是在linux下通讯工具pidgin上使之支持webqq协议的组件下面来详细介绍一下安装方法,共介绍两种,通过apt-get工具和通过源码安装(针对ubuntu和debian用户)要安装pidgin-lwqq首先...
分类:系统服务   时间:2015-08-12 21:32:42    收藏:0  评论:0  赞:0  阅读:318
集训第五周动态规划 G题 回文串
DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write...
分类:其他   时间:2015-08-12 21:32:32    收藏:0  评论:0  赞:0  阅读:219
JAVA开发环境配置
Java基本开发环境搭建:Windows+jdk+tomcat+Eclipse+mysql;1,jdk6.0:(到2011年4月是最新的)http://www.oracle.com/technetwork/java/javaee/downloads/index.htmlJavaEE6SDKwithJ...
分类:编程语言   时间:2015-08-12 21:32:22    收藏:0  评论:0  赞:0  阅读:372
Tree(prime)
TreeTime Limit : 6000/2000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 2Accepted Submission(s) : 2Problem DescriptionT...
分类:其他   时间:2015-08-12 21:32:12    收藏:0  评论:0  赞:0  阅读:185
hdu 3342 Legal or Not(拓扑排序)
#include#include#include#include#includeusing namespace std;int mat[200][200];int ran[200];int main(){ int n,m; int i,j,k; int f,t; while(...
分类:编程语言   时间:2015-08-12 21:32:02    收藏:0  评论:0  赞:0  阅读:293
C++中防止STL中迭代器失效——map/set等关联容器——vector/list/deque等序列容器—如何防止迭代器失效—即erase()的使用
序列性容器::(vector和list和deque)erase迭代器不仅使所有指向被删元素的迭代器失效,而且使被删元素之后的所有迭代器失效,所以不能使用erase(iter++)的方式,但是erase的返回值为下一个有效的迭代器,所以 正确方法为::for(iter=c.begin();iter!=...
分类:编程语言   时间:2015-08-12 21:31:52    收藏:0  评论:0  赞:0  阅读:265
BaLaBaLa
#include#include#include#include#includeusing namespace std;struct node{ friend bool operator Q; for(int i=1;i<=n;i++) { node k; k.ID=i; k.Time=...
分类:其他   时间:2015-08-12 21:31:42    收藏:0  评论:0  赞:0  阅读:136
WebStorm注册码
User Name:EMBRACE License Key:===== LICENSE BEGIN =====24718-1204201000001h6wzKLpfo3gmjJ8xoTPw5mQvYYA8vwka9tH!vibaUKS4FIDIkUfy!!f3C"rQCIRbShpSlDcFT1xm...
分类:Web开发   时间:2015-08-12 21:31:22    收藏:0  评论:0  赞:0  阅读:153
新笔记
package com.journaldev.util;import java.util.HashMap;import java.util.Iterator;import java.util.Map;import java.util.concurrent.ConcurrentHashMap;publ...
分类:其他   时间:2015-08-12 21:31:12    收藏:0  评论:0  赞:0  阅读:303
[Leetcode] Two Sum
1 import java.util.*; 2 3 public class Solution { 4 public int[] twoSum(int[] nums, int target) { 5 Map map = new HashMap(); 6 i...
分类:其他   时间:2015-08-12 21:30:52    收藏:0  评论:0  赞:0  阅读:204
java Http编程小结
1:什么是HTTP?超文本传输协议(HyperText Transfer Protocol -- HTTP)是一个设计来使客户端和服务器顺利进行通讯的协议。HTTP在客户端和服务器之间以request-response protocol(请求-回复协议)工作。2:HTTP编程1>:使用get方式获取...
分类:编程语言   时间:2015-08-12 21:30:42    收藏:0  评论:0  赞:0  阅读:175
Balanced Binary Tree
Given a binary tree , determine if it is height-balancedimplement method is in java language,iterator through the height rather than the depthpublic i...
分类:其他   时间:2015-08-12 21:30:32    收藏:0  评论:0  赞:0  阅读:203
Redis学习(1)-NoSQL的介绍
NoSQL(NoSQL=Not Only SQL),意为SQL运动,是一项全新的数据库革命性运动,早期就有人提出,发展至2009年趋势越发高涨,它指的是非关系型的数据库,随着互联网Web2.0网站的兴起,传统的关系数据库在应付Web2.0网站,特别是超大规模和高并发的SNS类型的Web2.0纯动态网...
分类:数据库技术   时间:2015-08-12 21:30:12    收藏:0  评论:0  赞:0  阅读:183
集训第五周动态规划 F题 最大子矩阵和
Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the...
分类:其他   时间:2015-08-12 21:30:02    收藏:0  评论:0  赞:0  阅读:269
JavaScript 闭包究竟是什么
用JavaScript一年多了,闭包总是让人二丈和尚摸不着头脑。陆陆续续接触了一些闭包的知识,也犯过几次因为不理解闭包导致的错误,一年多了 资料也看了一些,但还是不是非常明白,最近偶然看了一下 jQuery基础教程 的附录,发现附录A对JavaScript的闭包的介绍简单易懂,于是借花献佛总结一下。...
分类:编程语言   时间:2015-08-12 21:29:52    收藏:0  评论:0  赞:0  阅读:172
Linux驱动开发概述
原文出处:http://www.cnblogs.com/jacklu/p/4722563.htmlLinux设备分类设备的驱动程序也要像裸机程序那样进行一些硬件操作,不同的是驱动程序需要"融合进内核里",因此需要在驱动程序中加入操作系统规定的接口,这些接口都是独立于设备的。虽然操作系统为驱动程序设计...
分类:系统服务   时间:2015-08-12 21:29:42    收藏:0  评论:0  赞:0  阅读:319
2127条   上一页 1 ... 16 17 18 19 20 ... 107 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!