忘了本地的ECShop的用户密码,就看了下。ECShop V2.7.3密码的加密方式是这样的:
if(!empty($ec_salt))
{
/* 检查密码是否正确 */
$sql = "SELECT user_id, user_name, password, last_login, action_list, last_login,supplie...
分类:
其他好文 时间:
2015-01-03 13:15:31
阅读次数:
392
https://oj.leetcode.com/problems/combination-sum-ii/http://blog.csdn.net/linhuanmars/article/details/20829099publicclassSolution{
publicList<List<Integer>>combinationSum2(int[]num,inttarget)
{
if(num==null||num.length==0)
returnCollections.empty..
分类:
其他好文 时间:
2015-01-03 08:12:50
阅读次数:
185
所有集合都是iterable的,seq是有先后次序的序列(如数组和列表),Set是没有先后次序的序列,map是一种键值对偶。scala优先采用不可变集合,::操作符从给定的头和尾创建一个新的列表。如果要把列表中的某个节点变成列表中的最后一个节点,不能将next引用设为nil,而应该设为LinkedList.empty.已排序的集使用红黑树实现的,scala2.9没有可变的已排序集,要用到java....
分类:
其他好文 时间:
2015-01-02 14:41:20
阅读次数:
208
题目:Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representat...
分类:
其他好文 时间:
2015-01-02 06:29:15
阅读次数:
197
老题目。两个栈。class MinStack { stack stk; stack minstk;public: void push(int x) { stk.push(x); if (minstk.empty() || minstk.top() >= ...
分类:
其他好文 时间:
2015-01-01 00:04:51
阅读次数:
179
Given an array of size n, find the majority element. The majority element is the element that appears more than ?
n/2 ? times.
You may assume that the array is non-empty and the majority element ...
分类:
其他好文 时间:
2014-12-30 10:04:31
阅读次数:
206
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:
其他好文 时间:
2014-12-30 08:09:14
阅读次数:
161
题目:
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times.
You may assume that the array is non-empty and the majority eleme...
分类:
其他好文 时间:
2014-12-29 21:30:26
阅读次数:
192
1、使用python实现栈: 1 class stack(): 2 def __init__(self): 3 self.stack = [] 4 def empty(self): 5 return self.stack==[] 6 def p...
分类:
编程语言 时间:
2014-12-29 11:49:42
阅读次数:
217
题目描述:
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 respectivel...
分类:
其他好文 时间:
2014-12-29 10:28:11
阅读次数:
183