简单最小生成树,继续我的kruskal#include#include#include#includeusing namespace std;const int
MAX=1000000;struct node{ int left,right,cost;}road[MAX];bool cmp(n...
分类:
其他好文 时间:
2014-05-01 09:28:42
阅读次数:
333
Problem XHuge ModInput:standard
inputOutput:standard outputTime Limit:1 secondThe operator for exponentiation is
different from the addition, subtract...
分类:
其他好文 时间:
2014-05-01 09:03:35
阅读次数:
540
描述The SELECT statement is used to select data from
a database.The result is stored in a result table, called the
result-set.大意:select用来从数据库中挑选数据有以下两种形...
分类:
数据库 时间:
2014-05-01 06:14:32
阅读次数:
467
1. 文件查看数据文件、控制文件、日志文件查看如下:select file#, status,
enabled, name from V$datafile;--查看数据文件select * from v$controlfile;--控制文件select *
from v$logfile;--日志文件...
分类:
数据库 时间:
2014-05-01 04:49:13
阅读次数:
471
1、IN操作符用IN操作符写出来的SQL直观简单、易于理解。但是在where条件中使用IN操作符是低效的。例如下面这条查询语句:SELECT
* FROM tab_a WHERE id IN(SELECT a_id FROM tab_b);
你认为它会怎么执行呢?先从tab_a表中遍历数据,然后拿每...
分类:
数据库 时间:
2014-05-01 03:28:11
阅读次数:
756
用c语言实现
#include
#include
#include
using namespace std;
typedef struct node
{
char x;
struct node *next;
}chan;
chan *root = new chan;
char a[100010];
int main()
{
while(scanf("%...
分类:
编程语言 时间:
2014-04-29 13:47:20
阅读次数:
358
I am honored to be with you today at your commencement from one of the finest universities in the world. I never graduated from college. Truth be told, this is the closest I've ever gotten to a colleg...
分类:
其他好文 时间:
2014-04-29 13:46:22
阅读次数:
337
往数据里插值,结果报这个错,经过百度查证和自己试验,如下:
查看用户表空间的限额
select * from user_ts_quotas;
alter user ***(用户名) quota unlimited on ***(表空间);
这种方式是针对特定的表空间的.
可以分配自然也可以回收了:
alter user *** quota 0 on *...
分类:
其他好文 时间:
2014-04-29 13:46:21
阅读次数:
354
floyd求最短路。
注意图是有向图。。。
#include
#include
#include
using namespace std;
struct node
{
int x,y,id;
}edge[205];
int dis[205][205];
int main()
{
int c,T,n,a,b,op;
while(scanf("%d",&T...
分类:
其他好文 时间:
2014-04-29 13:21:23
阅读次数:
313
XML From Action Script[AS中的XML学习笔记]...
分类:
其他好文 时间:
2014-04-29 13:21:22
阅读次数:
288