码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
SQL优化(3):使用explain了解SQL性能-part2
接上文,上文对type列用实例做了说明,本文对Extra列进行一些说明。 Extra列 Using filesort 前文说,需要对所有的查询结果进行一次排序,例如当使用order by时。但是若查询时用到了index,那么对于order by来说可能就不需要排序了,因为index数据就是按照有序的...
分类:数据库   时间:2016-02-05 01:01:13    阅读次数:236
bzoj3674: 可持久化并查集
用可持久化线段树维护可持久化并查集。 调了一下午,改为按秩合并就过了。。。 #include<bits/stdc++.h> #define REP(i,a,b) for(int i=a;i<=b;i++) #define MS0(a) memset(a,0,sizeof(a)) using name
分类:其他好文   时间:2016-02-05 00:58:07    阅读次数:226
hdu1078 记忆化搜索
/* hdu 1078 QAQ记忆化搜索 其实还是搜索。。因为里面开了一个数组这样可以省时间 (dp【x】【y】大于0就不用算了直接返回值) */ #include<stdio.h> #include<string.h> #include<algorithm> using namespace std
分类:其他好文   时间:2016-02-04 18:32:46    阅读次数:198
水题-poj1979
#include <iostream> #include <string> using namespace std; int row,col; int dir[4][2]={{0,-1},{0,1},{1,0},{-1,0}}; char map[20][20]; bool vised[20][20
分类:其他好文   时间:2016-02-04 18:23:45    阅读次数:158
[LeetCode][JavaScript]Power of Three
Power of Three Given an integer, write a function to determine if it is a power of three. Follow up:Could you do it without using any loop / recursion
分类:编程语言   时间:2016-02-04 11:36:53    阅读次数:164
FPGA, Float 32bit, multiplyier by Verilog
1, FPGA device, using three 18bit x 18 bit multiplier to implement 32bit float multiplier 2, comparing to Altera float multiplyer IP (1) just half of
分类:其他好文   时间:2016-02-04 09:44:26    阅读次数:224
二分查找
#include <iostream> #include <algorithm> using namespace std; bool binarySearch(int a[],int x,int n) { int left = 0,right = n-1; while(left <= right)
分类:其他好文   时间:2016-02-03 21:45:20    阅读次数:221
MAC开发环境搭建
装机1.安装home-brew2.安装步骤在:http://blog.frd.mn/install-nginx-php-fpm-mysql-and-phpmyadmin-on-os-x-mavericks-using-homebrew/(中间可能需要建立软连接来设置开机启动,可以从文章中看到如何建
分类:系统相关   时间:2016-02-03 19:10:26    阅读次数:212
mysql delete数据时报Error Code 1175
我们在学校mysql的时候,在更新或者删除数据的时候,会遇到以下错误: Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY c
分类:数据库   时间:2016-02-03 18:12:42    阅读次数:301
asp.net(C#)之NPOI&quot;操作Excel
1.首先到网上下载"NPOI.DLL"。引用。 2.新建一个操作类“ExcelHelper.cs”: using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using NPOI
分类:Windows程序   时间:2016-02-03 16:38:46    阅读次数:314
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!