码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
join和on语句中select语句选择公共列的区别
对多个表进行join时,在select语句中,如果使用using语句,则using语句中选中的列,在select语句中不能指定限定词,否则会报ORA-25154查看emp表SQL>select*fromemp; EMPNOENAMEJOBMGRHIREDATESALCOMMDEPTNO --------------------------------------------------------------..
分类:其他好文   时间:2016-02-19 19:16:22    阅读次数:295
HDU 1054 Strategic Game(无向二分图的最大匹配)
( ̄▽ ̄)" //凡无向图,求匹配时都要除以2 #include #include #include #include #include using namespace std; const int MAXN=1505; int uN; vector g[MAXN]; int link[MAXN];...
分类:其他好文   时间:2016-02-19 19:09:16    阅读次数:275
【BZOJ 3143】【Hnoi2013】游走 期望+高斯消元
如果纯模拟,就会死循环,而随着循环每个点的期望会逼近一个值,高斯消元就通过列方正组求出这个值。 #include<cstdio> #include<cctype> #include<cstring> #include<algorithm> using namespace std; const dou
分类:其他好文   时间:2016-02-19 18:44:15    阅读次数:164
一列数的规则如下: 1、1、2、3、5、8、13、21、34...... 求第30位数是多少, 用递归算法实现。
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication5 { cl
分类:编程语言   时间:2016-02-19 10:40:43    阅读次数:159
PostgreSQL分区表建立
pgsql 分区表: --主表 create table test(id integer, name varchar(32)); create index idx_test_id on test using btree(id); --分表 create table test_b (like test
分类:数据库   时间:2016-02-19 10:32:48    阅读次数:211
冒泡排序
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication4 { cl
分类:编程语言   时间:2016-02-19 10:20:17    阅读次数:192
关于忘记MySQL的root用户密码的问题
出错 信息: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)'及 如果忘记了MySQL的root用户密码可以如下操作(Linux下):如果 MySQL 正在运行,首先杀之:
分类:数据库   时间:2016-02-19 09:12:57    阅读次数:206
POJ 3026 Borg Maze(Prim+BFS建邻接矩阵)
( ̄▽ ̄)" #include #include #include #include #include #include using namespace std; const int INF=10e8; const int MAXN=55; int col,row,k,minn; char str[...
分类:其他好文   时间:2016-02-19 00:27:09    阅读次数:210
15:接水问题
分析: 此题没想出更好的方法,用模拟解决。(只学习语言的同学做这样的题目有一定难度) 1 #include<cstdio> 2 #include<algorithm> 3 using namespace std; 4 int w[11000], b[11000]; 5 int main(){ 6 i
分类:其他好文   时间:2016-02-18 21:39:42    阅读次数:282
14:铺地毯
分析: 需要使用二维数组存储地毯的编号,后面的地毯编号覆盖前面的。 #include<cstdio> #include<cstring> #include<algorithm> using namespace std; int a[11000][11000]={0}; int main(){ int
分类:其他好文   时间:2016-02-18 19:51:52    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!