首页 > 其他
Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:其他   时间:2014-06-04 20:14:46    收藏:0  评论:0  赞:0  阅读:425
自动从DataRow里取数据给属性赋值
public abstract class ModelsBase { //自动从DataRow里取数据给属性赋值 public void RightDataFrom(DataRow row) { Type type = this.GetType(); //遍历每一个属性 foreach...
分类:其他   时间:2014-06-04 20:14:05    收藏:0  评论:0  赞:0  阅读:476
maven学习心得
心得:这几天一直在研究maven的配置,还真是伤心啊,网上资料不多,而且问题不断.确实很让人头疼背景:之所以学习maven是因为我们需要一键部署,我们项目是已经差不多完成了,是eclipse的web项目,需要将它变成maven项目问题:1.拆分项目为多个模块解决循环依赖如果一个web项目下面有A,B...
分类:其他   时间:2014-06-04 20:13:20    收藏:0  评论:0  赞:0  阅读:481
Search in Rotated Sorted Array II
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:其他   时间:2014-06-04 20:12:36    收藏:0  评论:0  赞:0  阅读:320
UVALive - 2965 Jurassic Remains
Jurassic RemainsTime Limit:18000MSMemory Limit:Unknown64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionPaleontologists in Siberia have...
分类:其他   时间:2014-06-04 20:11:55    收藏:0  评论:0  赞:0  阅读:446
LeetCode Simplify Path
class Solution {public: string simplifyPath(string path) { int len = path.length(); if (len spath; int p = -1, q = 0; ...
分类:其他   时间:2014-06-04 20:11:21    收藏:0  评论:0  赞:0  阅读:361
InstallShield打包问题
InstallShield打包
分类:其他   时间:2014-06-04 20:17:59    收藏:0  评论:0  赞:0  阅读:428
Valid Sudoku
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:其他   时间:2014-06-04 20:17:22    收藏:0  评论:0  赞:0  阅读:400
URAL 1073 Square Country(DP)
题目链接题意 :这个人要投资地,每块地都是正方形并且边长都是整数,他希望他要买的地尽量的少碎块。每买一块地要付的钱是边长的平方,而且会得到一个一份证书,给你一个钱数,让你求出能得到的证书个数。思路 :其实就是求x12+x22+……+Xn2中的最小的n。 1 //1073 2 #include 3 ....
分类:其他   时间:2014-06-04 20:16:43    收藏:0  评论:0  赞:0  阅读:436
Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他   时间:2014-06-04 20:15:31    收藏:0  评论:0  赞:0  阅读:378
timer 在滚动的时候停止了的解决办法
方法一:-(void) viewDidLoad{[self performSelectorInBackground:@selector(call1) withObject:nil];}-(void) call1{timer1 = [NSTimer scheduledTimerWithTimeInte...
分类:其他   时间:2014-06-04 20:18:44    收藏:0  评论:0  赞:0  阅读:533
性能测试相关脚本
1,restime统计响应时间#!/bin/bash#统计日志响应时间用if [ $# -lt 1 ]; then echo "at least have one param; " echo "ex: restime a.log b.log *.log" exit 1fi. lgq...
分类:其他   时间:2014-06-04 20:19:25    收藏:0  评论:0  赞:0  阅读:474
Rotate Image
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?classSolution{publi...
分类:其他   时间:2014-06-04 20:20:53    收藏:0  评论:0  赞:0  阅读:429
CAS连接微软活动目录的配置方法
原文地址:http://blog.csdn.net/baozhengw/article/details/3857669在微软活动目录中建立一个用户节点,帐号为wangzhenyu,cn为zhenyu wang,并设置登陆口令,这时候在cas中用wangzhenyu的帐号登陆失败,解决办法是:安装ap...
分类:其他   时间:2014-06-04 20:20:08    收藏:0  评论:0  赞:0  阅读:456
Process manufacturing和Discrete manufacturing的区别
Process manufacturing(Process industry)加工制造,或者加工工业。其一个重要特征是,原材料被加工成成品后,我们再也无法将它恢复成原料,比如,苹果罐头,我们再没法把它恢复成苹果。Discrete manufacturing组装制造,主要是一些把很多零配件组合起来,让...
分类:其他   时间:2014-06-04 20:22:11    收藏:0  评论:0  赞:0  阅读:504
Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他   时间:2014-06-04 20:25:32    收藏:0  评论:0  赞:0  阅读:380
Merge Intervals
Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18]./***Definition...
分类:其他   时间:2014-06-04 20:26:58    收藏:0  评论:0  赞:0  阅读:453
Rotate List
Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL./***D...
分类:其他   时间:2014-06-04 20:26:14    收藏:0  评论:0  赞:0  阅读:482
三层架构浅析
表示层(UI):显示的界面,用户浏览和输入。业务逻辑层(BLL):对用户输入的数据进行处理;对从数据访问层获取的数据进行处理。数据访问层(DLL):从数据库或其他地方获取原始数据。Model层(实体类):让对象和表形成映射关系。Model层属于辅助作用。分层的好处:实现“高内聚,低耦合”。采用“分而...
分类:其他   时间:2014-06-04 20:43:23    收藏:0  评论:0  赞:0  阅读:394
Pow(x, n)
Implement pow(x,n).classSolution{public:doublepow(doublex,intn){if(n==1)returnx;if(n==-1)return1/x;if(n==0)return1;doubleresult=1;doubletmp=pow(x,n/2)...
分类:其他   时间:2014-06-04 20:45:14    收藏:0  评论:0  赞:0  阅读:520
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!