http://acm.hdu.edu.cn/showproblem.php?pid=3038 
1 #include 2 #include 3 #include 4 #define maxn 600000 5 using namespace std; 6 
7 int f[maxn],d[max...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 18:51:33   
                                阅读次数:
252
                             
                    
                        
                            
                            
                                //#define LOCAL#include#includeusing namespace 
std;int const MAX_N=100001;int const INF=10000000;int N,M,x[MAX_N];void init(){ 
for(int i=0;i1) {...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 17:20:45   
                                阅读次数:
204
                             
                    
                        
                            
                            
                                //#define LOCAL#include#include#include#includeint 
const MAX_N=101;typedef struct Point{ int x,y; bool operatorVec[i].y) { ...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 17:08:45   
                                阅读次数:
253
                             
                    
                        
                            
                            
                                比较经典一个课程学分表C(cno, cname, ccredit)一个学生选课表SC(sno, 
cno, grade)select sno from sc,c where sc.cno=c.sno and sc.grade>=60 group by 
sno having sum(credit)>=3...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 17:06:41   
                                阅读次数:
218
                             
                    
                        
                            
                            
                                Combination Sum IGiven a set of candidate 
numbers (C) and a target number (T), find all unique combinations in C where the 
candidate numbers sums to T...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 16:41:14   
                                阅读次数:
269
                             
                    
                        
                            
                            
                                1、测试用例 #!/bin/sh #日期变量可设成传入参数 #exec_date=`date 
+"%Y%m%d"` # -S 设置无提示模式, 该模式隐藏命令的 SQL*Plus 标帜, 提示和回显的显示 sqlplus -S 
"scott/oracle" /dev/null declare --声...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 16:10:18   
                                阅读次数:
432
                             
                    
                        
                            
                            
                                #includeusing namespace std;//大根堆,从小到达排序int 
a[101];void swap(int &a,int &b){ a=a^b; b=a^b; a=a^b; }void adjust(int 
*a,int root,int len){ int max=root;...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 15:13:43   
                                阅读次数:
219
                             
                    
                        
                            
                            
                                >___ 2 // C 运行时头文件 3 #include 4 #include 5 
#include 6 #include 7 #include 8 #include 9 #include 10 #include 11 12 #define 
MAX_LOADSTR...
                            
                            
                         
                    
                        
                            
                            
                                1 (1)Let $\sed{x_k}_{k=1}^n \subset (0,\pi)$, and 
define $$\bex x=\frac{1}{n}\sum_{k=1}^n x_i. \eex$$ Show that $$\bex 
\prod_{k=1}^n \frac{\sin x_k}{x...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 14:46:27   
                                阅读次数:
388
                             
                    
                        
                            
                            
                                1. SQL*Plus登陆:在cmd中,使用sqlplus 
[usernam]/[pwd]或者sqlplus [usernam]/[pwd] as sysdba或者sqlplus 
[usernam]/[pwd]@[netsvr],netsvr是已定义的网络服务名。2. 获得帮助索引:help ind...
                            
                            
                                分类:
数据库   时间:
2014-05-19 13:32:55   
                                阅读次数:
439