码迷,mamicode.com
首页 > 其他好文
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:19:04    阅读次数:313
自动从DataRow里取数据给属性赋值
public abstract class ModelsBase { //自动从DataRow里取数据给属性赋值 public void RightDataFrom(DataRow row) { Type type = this.GetType(); //遍历每一个属性 foreach...
分类:其他好文   时间:2014-06-04 20:18:20    阅读次数:197
maven学习心得
心得:这几天一直在研究maven的配置,还真是伤心啊,网上资料不多,而且问题不断.确实很让人头疼背景:之所以学习maven是因为我们需要一键部署,我们项目是已经差不多完成了,是eclipse的web项目,需要将它变成maven项目问题:1.拆分项目为多个模块解决循环依赖如果一个web项目下面有A,B...
分类:其他好文   时间:2014-06-04 20:17:39    阅读次数:224
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:17:05    阅读次数:249
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:16:27    阅读次数:384
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:15:49    阅读次数:197
InstallShield打包问题
InstallShield打包
分类:其他好文   时间:2014-06-04 20:22:27    阅读次数:393
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:21:51    阅读次数:246
URAL 1073 Square Country(DP)
题目链接题意 :这个人要投资地,每块地都是正方形并且边长都是整数,他希望他要买的地尽量的少碎块。每买一块地要付的钱是边长的平方,而且会得到一个一份证书,给你一个钱数,让你求出能得到的证书个数。思路 :其实就是求x12+x22+……+Xn2中的最小的n。 1 //1073 2 #include 3 ....
分类:其他好文   时间:2014-06-04 20:21:14    阅读次数:292
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:19:49    阅读次数:282
timer 在滚动的时候停止了的解决办法
方法一:-(void) viewDidLoad{[self performSelectorInBackground:@selector(call1) withObject:nil];}-(void) call1{timer1 = [NSTimer scheduledTimerWithTimeInte...
分类:其他好文   时间:2014-06-04 20:23:05    阅读次数:228
性能测试相关脚本
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:23:43    阅读次数:291
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:25:09    阅读次数:227
CAS连接微软活动目录的配置方法
原文地址:http://blog.csdn.net/baozhengw/article/details/3857669在微软活动目录中建立一个用户节点,帐号为wangzhenyu,cn为zhenyu wang,并设置登陆口令,这时候在cas中用wangzhenyu的帐号登陆失败,解决办法是:安装ap...
分类:其他好文   时间:2014-06-04 20:24:28    阅读次数:228
Process manufacturing和Discrete manufacturing的区别
Process manufacturing(Process industry)加工制造,或者加工工业。其一个重要特征是,原材料被加工成成品后,我们再也无法将它恢复成原料,比如,苹果罐头,我们再没法把它恢复成苹果。Discrete manufacturing组装制造,主要是一些把很多零配件组合起来,让...
分类:其他好文   时间:2014-06-04 20:26:37    阅读次数:374
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:44:19    阅读次数:216
@selector
@selector 是什么?1一种类型 SEL2代表你要发送的消息(方法), 跟字符串有点像, 也可以互转.:NSSelectorFromString() / NSSelectorFromString()3可以理解为类似函数指针的东西--是能让Objective-C动态调用方法的玩意.--是 ob....
分类:其他好文   时间:2014-06-04 20:46:16    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!