问题起因:某一天下午,团队成员在向svn服务端提交新内容,突然整栋楼断电了,自然,提交的过程被中断了。当时,还没有什么想法。
等有电后,另外一同事在update项目时,发现无法正常使用svn,一直报异常信息:Invalid filesystem revision numbersvn:
没...
分类:
其他好文 时间:
2014-05-15 15:49:33
阅读次数:
329
关于_name_和_main_的具体含义如下:_name_:在模块中就是模块名,在类中就是类名_main_:模块自身”The namespace for a
module is automatically created the first time a module is imported. Th...
分类:
编程语言 时间:
2014-05-15 15:26:00
阅读次数:
287
#include
#include
using namespace std;
//下面一个移位是一样的,>>相当于除去2,主要是要用right-left,否则对于大数据来说会产生溢出问题。切记
int binarySearch(int arr[],int len,int number)
{
int left=0;
int right=len-1;
in...
分类:
其他好文 时间:
2014-05-15 07:14:38
阅读次数:
272
2014-5-12 晴 复习总结
① 表格的意义,含义?
表格应该用来展现那些适合表格化显示的信息,比如数据的显示,统计或者二维报表之类的信息,而不是作为一种而已的工作
② 表格有哪些元素?
表格元素:table thead tbody tfoot caption tr th td .... 较常用
...
分类:
Web程序 时间:
2014-05-15 06:55:22
阅读次数:
418
Write the code that will take a string and make this conversion given a number of rows:
P A H N
A P L S I I G
Y I R
convert("PAYPALISHIRING", 3) should return "PAHNAPLSIIGYIR"....
分类:
其他好文 时间:
2014-05-15 04:49:04
阅读次数:
311
LeetCode-001 Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2...
分类:
其他好文 时间:
2014-05-15 04:34:50
阅读次数:
293
【题目】
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
P A H N
A P L S I I G
Y I R
And then read line by line: "PAHNAPLSI...
分类:
其他好文 时间:
2014-05-15 04:30:57
阅读次数:
313
题目
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
解答
本题考察进位问题,注...
分类:
其他好文 时间:
2014-05-15 04:16:56
阅读次数:
245
【题目】
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.
【题意】
题意是找出字符串S中最长回文子串,S最长为1000,保证有唯一解
【思路】
原字符串用特殊字符#间隔,如下所示:
#a...
分类:
其他好文 时间:
2014-05-15 03:31:25
阅读次数:
299
SQL:CREATE PROCEDURE PagingViewTest(
@currentPageIndex INT, --页序号 @pageSize INT, --页大小 @pageCount INT OUTPUT
--返回值,总记录数)ASBEGIN--取总记录数SELECT @p...
分类:
数据库 时间:
2014-05-14 13:15:07
阅读次数:
473