oracle 32位导64位SQL>SHUTDOWN 
IMMEDIATE;SQL>STARTUP MOUNT;SQL>ALTER SYSTEM ENABLE RESTRICTED 
SESSION;SQL>ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;SQL>ALT.....
                            
                            
                                分类:
数据库   时间:
2014-05-26 09:15:19   
                                阅读次数:
345
                             
                         
                    
                        
                            
                            
                                dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 
0), ^{ NSString *urlString = @"http://img0.pconline.com.cn/pconline/1...
                            
                            
                                分类:
移动开发   时间:
2014-05-24 09:10:22   
                                阅读次数:
324
                             
                         
                    
                        
                            
                            
                                Design and implement a data structure for Least 
Recently Used (LRU) cache. It should support the following 
operations:getandset.get(key)- Get the valu...
                            
                            
                                分类:
其他好文   时间:
2014-05-23 09:59:05   
                                阅读次数:
257
                             
                         
                    
                        
                            
                            
                                数学推导题,f(n)=n*(n+1)*(n+2)/6
推导思路如下:
#include"cstdio"
#include"cstring"
#include"cmath"
#include"cstdlib"
#include"iostream"
#include"algorithm"
#include"queue"
using namespace std;
int main()...
                            
                            
                                分类:
其他好文   时间:
2014-05-23 02:13:15   
                                阅读次数:
269
                             
                         
                    
                        
                            
                            
                                定义:将一个class的接口转换为另一个class的接口,使原本因接口不兼容而不能合作的classes,可以一起运作。适配器扮演者轴承、转换器的角色。
分类:
1、容器适配器:改变容器接口。
STL提供两个容器迭代器:queue和stack。它们都是修饰deque后成为另一种风貌的容器。
2、迭代器适配器:改变迭代器接口。
Insert Iterator:将容器绑...
                            
                            
                                分类:
其他好文   时间:
2014-05-23 01:58:23   
                                阅读次数:
360
                             
                         
                    
                        
                            
                            
                                【题目】
Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cover the entire input string (not partial).
The functi...
                            
                            
                                分类:
其他好文   时间:
2014-05-23 00:17:12   
                                阅读次数:
364
                             
                         
                    
                        
                            
                            
                                模板与泛型编程--实例化引言:		模板是一个蓝图,它本身不是类或函数。编译器使用模板产生指定的类或函数的特定版本。产生模板的特定类型实例的过程称为实例化。	模板在使用时将进行实例化,类模板在引用实际模板类型时实例化,函数模板在调用它或用它对函数指针进行初始化或赋值时实例化。1、类的实例化	当编写Queueqi时,编译器自动创建名为Queue的类。实际上,编译器通过重新编写Queue模板,用类型in...
                            
                            
                                分类:
编程语言   时间:
2014-05-22 10:11:06   
                                阅读次数:
367
                             
                         
                    
                        
                            
                            
                                2 stacks to implement a queue.
                            
                            
                                分类:
其他好文   时间:
2014-05-22 02:25:01   
                                阅读次数:
230
                             
                         
                    
                        
                            
                            
                                模板与泛型编程--类模板成员[续2]六、完整的Queue类Queue的完整定义:template  class Queue;
template 
ostream &operator &);
template  class QueueItem
{
    friend class Queue;
    friend ostream &
    operator(ostream &,const Q...
                            
                            
                                分类:
编程语言   时间:
2014-05-21 14:07:20   
                                阅读次数:
304
                             
                         
                    
                        
                            
                            
                                一个例子的死锁分析:环境:innodb引擎,RC隔离级别;死锁信息:RECORD LOCKS 
space id 0 page no 1492482 n bits 904 index `unit_id` of table 
`51fshenzhen`.`t_refresh_queue` trx id E...
                            
                            
                                分类:
数据库   时间:
2014-05-21 04:27:37   
                                阅读次数:
578