对于中文编码的问题,总会出现各种各样恶心的错误,还不知道应该怎么解决,首先,你从最开头就应该关注编码问题,尽量保证所有的编码方式都是一致的用python+web.py+mysql来写程序,首先要保证如下几个部分的编码都是对滴主要包括如下几个部分:1:python 写的程序, 统一用 utf-8 ,以...
分类:
数据库 时间:
2015-06-02 13:12:37
阅读次数:
476
集团电子商务部3GE备份管理软件DP环境交代:HPDataProtectorA.06.11:OMNISV,internalbuildPHSS_41454,builtonWedOct616:18:202010HP-UXessdb1B.11.31Uia643757157163unlimited-userlicense问题描述:DPServer只能通过omnidb进行备份软件的一些操作,登录GUI管理端就会报错。Can..
分类:
其他好文 时间:
2015-06-02 11:25:12
阅读次数:
487
Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.
Follow up:
Can you solve it without using extra space?
解题思路:
1、解法1,用se...
分类:
其他好文 时间:
2015-06-02 11:20:46
阅读次数:
100
Linked List Cycle
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
解题思路:
1、最基本的办法是用一个set来存储所有已经出现过的指针。若出现重复,则表示有环,若没有重复,则没有环...
分类:
其他好文 时间:
2015-06-02 00:29:05
阅读次数:
135
POJ1226 Substrings,字符串,暴力,最长公共子串
You are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found as a substring of any of the given strings....
分类:
其他好文 时间:
2015-06-01 22:48:24
阅读次数:
223
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.
For example, given
s = "leetcode",
dict = ["leet"...
分类:
其他好文 时间:
2015-06-01 22:47:24
阅读次数:
159
Description
The repetition number of a string is defined as the maximum number R such that the string can be partitioned into R same consecutive substrings. For example, the repetition number of "a...
分类:
编程语言 时间:
2015-06-01 22:36:06
阅读次数:
262
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1029Ignatius and the Princess IVDescriptionOK, you are not too bad, em... But you can never pass the nex...
分类:
其他好文 时间:
2015-06-01 22:12:24
阅读次数:
110
http://acm.hdu.edu.cn/showproblem.php?pid=2266给一个字符串和一个数n,在字符串中间可以插入+或者 -,问有多少种等于n的情况.要注意任意两个数之间都可以插入也可以不插入,注意枚举完所有情况.#include #include char s[15];int...
分类:
其他好文 时间:
2015-06-01 22:09:27
阅读次数:
129
贴点自己的代码吧。 AJAX提交后台json代码,获取返回值。Insert title here
分类:
其他好文 时间:
2015-06-01 20:12:33
阅读次数:
117