首页 > 其他
UVa12063 Zeros and Ones
神坑 1竟然还要取模在后面填数多好的 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 using namespace std; 8 9 void setIO(const string& s) {10 freopen((...
分类:其他   时间:2016-01-08 09:16:01    收藏:0  评论:0  赞:0  阅读:226
分页之页码数量显示
javaScript页码简单算法实现, 在此留作笔记, 供以后参考Js代码/***页码计算,仅适用于显示奇数数量的页码*@paramsize页大小*@paramindex当前页码*@paramrowCount总行数*@paramnumCount要显示的页码数量*@returns{Object}pag...
分类:其他   时间:2016-01-08 09:15:51    收藏:0  评论:0  赞:0  阅读:169
uva10341 - solve it (二分查找)
题目:uva10341-solve it题目大意:求解给定的方程式解题思路:由于这个方程式在给定的x的范围内是单调递减的。所以能够用二分查找来尝试x的值。这里的 x是要求保留4小数,所以当区间缩小到一定的范围,这时候就是x的解。无解的情况仅仅可能出如今x范围的两端。代码:#include #incl...
分类:其他   时间:2016-01-08 09:15:31    收藏:0  评论:0  赞:0  阅读:72
项目成本管理记忆口诀:
成本估算(雷子,下官卖金子)类比估算,确定资源费率,自下而上成本估算,管理软件,卖方投标分析,准备金分析,质量成本成本预算(城管参合)成本总计,管理储备,参数模型,支出合理法成本控制(成绩预计偏软)成本变更,绩效测量,预测技术,绩效评估(偏差,趋势,挣值),偏差管理,管理软件
分类:其他   时间:2016-01-08 09:15:11    收藏:0  评论:0  赞:0  阅读:125
VS2010调用VLFeat
相比OpenCV,VLFeat的代码全是开源,并且非常重要的一点,事实上现的sift和Low的精度差点儿相同,这个团队全是码神,膜拜一下。依照以下的网址进行安装,本人已经装上了,确实能够的。安装參考:http://www.vlfeat.org/vsexpress.html
分类:其他   时间:2016-01-08 09:13:01    收藏:0  评论:0  赞:0  阅读:102
Maven项目中mvn clean后找不到測试类问题
在Maven项目中进行单元測试,但mvn clean后又一次mvn install项目,再次进行单元測试。会有下面的错误。Class not found com.core.order.service.impl.OrderServiceImplTestjava.lang.ClassNotFoundEx...
分类:其他   时间:2016-01-08 09:12:21    收藏:0  评论:0  赞:0  阅读:118
Google Chrome 默认非安全端口列表
1, // tcpmux7, // echo 9, // discard 11, // systat 13, // daytime 15, // netstat 17, // qotd 19, // chargen 20, // ftp data 21, // ftp access 22, // s...
分类:其他   时间:2016-01-08 09:12:01    收藏:0  评论:0  赞:0  阅读:267
cron表达式详解
Cron表达式是一个字符串,字符串以5或6个空格隔开,分为6或7个域,每一个域代表一个含义,Cron有如下两种语法格式:Seconds Minutes Hours DayofMonth Month DayofWeek Year或Seconds Minutes Hours DayofMonth Mon...
分类:其他   时间:2016-01-08 09:11:11    收藏:0  评论:0  赞:0  阅读:175
堆和栈的区别
Java的堆是一个运行时数据区,类的(对象从中分配空间。这些对象通过new、newarray、anewarray和multianewarray等 指令建立,它们不需要程序代码来显式的释放。堆是由垃圾回收来负责的,堆的优势是可以动态地分配内存大小,生存期也不必事先告诉编译器,因为它是在运行时 动态分配...
分类:其他   时间:2016-01-08 09:11:01    收藏:0  评论:0  赞:0  阅读:162
poj 2038 Team Rankings 枚举排列
//poj 2038//sep9#include #include using namespace std;char s[128][8];int count(char s1[],char s2[]){ int cnt=0; for(int i=0;i<5;++i) for(int j=i+1;j<....
分类:其他   时间:2016-01-08 08:07:51    收藏:0  评论:0  赞:0  阅读:179
Jan 07 - Excel Sheet Column Title; String, Integer
public class Solution { public String convertToTitle(int n) { StringBuilder sb = new StringBuilder(); int round = n; while(rou...
分类:其他   时间:2016-01-08 08:06:51    收藏:0  评论:0  赞:0  阅读:169
Jan 07- Compare two version numbers; String, Integer.
public class Solution { public int compareVersion(String version1, String version2) { String[] versionArray1 = version1.split("\\."); ...
分类:其他   时间:2016-01-08 07:03:51    收藏:0  评论:0  赞:0  阅读:184
《软件需求》读书笔记1
《软件需求》读书笔记之一一、需求层次二、需求开发(需求工程方法、需求来源、如何获取需求并给出一些指导方法)需求分析过程:1、 需求收集:定义项目的视图和范围。学习与了解本行业的知识,这样与用户比较容易沟通。访问有潜力的用户,对用户进行分类并找各自合适的代表,找出新软件产品的用户需求。注意与用户沟通技...
分类:其他   时间:2016-01-08 07:03:41    收藏:0  评论:0  赞:0  阅读:209
*Reverse Words in a String
Given an input string, reverse the string word by word. A word is defined as a sequence of non-space characters.The input string does not contain lead...
分类:其他   时间:2016-01-08 07:03:11    收藏:0  评论:0  赞:0  阅读:137
《软件需求》读书笔记3
《软件需求》读书笔记之三需求来源、需求收集方法软件需求可以来自方方面面,这取决于所开发产品的性质和开发环境。需从不同用户代表和来源收集需求,这说明了需求工程是以相互交流为核心的性质。下面是几个软件需求的典型来源。1). 访问并与有潜力的用户探讨为找出新软件产品的用户需求,最直截了当的方法是询问他们。...
分类:其他   时间:2016-01-08 07:03:01    收藏:0  评论:0  赞:0  阅读:156
Unique Binary Search Trees II
Givenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.ExampleGivenn= 3, your program should return all 5 unique B...
分类:其他   时间:2016-01-08 07:02:41    收藏:0  评论:0  赞:0  阅读:165
[lintcode medium]Continuous Subarray Sum
Given an integer array, find a continuous subarray where the sum of numbers is the biggest. Your code should return the index of the first number and ...
分类:其他   时间:2016-01-08 07:02:22    收藏:0  评论:0  赞:0  阅读:211
Unique Binary Search Trees
Given n, how many structurally unique BSTs (binary search trees) that store values 1...n?ExampleGiven n = 3, there are a total of 5 unique BST's.1 ...
分类:其他   时间:2016-01-08 07:02:11    收藏:0  评论:0  赞:0  阅读:181
《软件需求》读书笔记2
《软件需求》读书笔记之二三、需求管理方法以及常用需求管理工具管理需求。需求层次1、 软件需求层次:层次内容描述呈现方式业务需求组织机构或客户对系统、产品高层次的目标要求。项目视图与范围文档中予以说明用户需求用户使用产品必须要完成的任务Use Case功能需求必须实现的软件功能需求规格说明文档中功能需...
分类:其他   时间:2016-01-08 07:01:51    收藏:0  评论:0  赞:0  阅读:246
Jan 06, Intersection of Two Linked Lists
一开始试着用DP去解决, 可是两个指针怎么同步移动很费劲,想了一会脑子混乱,就建立双向linked list,思路就很清晰了。/** * Definition for singly-linked list. * public class ListNode { * int val; * ...
分类:其他   时间:2016-01-08 07:01:41    收藏:0  评论:0  赞:0  阅读:213
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!