码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
MySql安装问题
第一次安装时不会出现这样的错误,而在重新安装时,就会很容易的出现apply security setting error(access denied for user ‘root@localhost ‘(using password: YES)),即在配置mysql启动服务时,在启动apply s...
分类:数据库   时间:2015-06-16 21:23:28    阅读次数:136
poj 1270 Following Orders 枚举排列
题意: 给一个字符集和一些字符之间的小于关系,求字符集上的所有可能排列。 分析: 暴力枚举可以分为枚举子集,枚举排列,枚举组合,这题是个简单的枚举排列,枚举过程中用小于关系剪枝即可。 代码: //poj 1270 //sep9 #include #include using namespace std; char vars[64],constraint[256],ans[64]; i...
分类:Windows程序   时间:2015-06-16 21:14:47    阅读次数:149
hdu1020Encoding
Problem DescriptionGiven a string containing only 'A' - 'Z', we could encode it using the following method: 1. Each sub-string containing k same char....
分类:其他好文   时间:2015-06-16 20:52:24    阅读次数:135
[Java]Write Excel File Using Apache POI API
package com.file.properties;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.InputStream;import java....
分类:编程语言   时间:2015-06-16 18:55:16    阅读次数:227
[Java]Read Excel File Using Apache POI API
读取以下两种格式的Excel : *.xls and *.xlsx用Apache POI API来实现,需要用到 HSSF 和 XSSF 的类库HSSF is the POI Project's pure Java implementation of the Excel '97(-2007) (.x...
分类:编程语言   时间:2015-06-16 18:54:44    阅读次数:220
跳转 linQ
@book.book_namequery += @"AND (gn.gn_artist_genre1 =" + genre.ToString() public static Book GetBookDetail(Models.BookModel model) { using (Models.BSOE...
分类:其他好文   时间:2015-06-16 18:53:11    阅读次数:122
蓝桥杯 波动数列
#include #include #include #include using namespace std;const int INF = 2000, MOD = (int) 1e8 + 7;int g[INF], f[INF][INF];int n, s, a, b;int main() { ...
分类:其他好文   时间:2015-06-16 18:49:56    阅读次数:265
Set Matrix Zeroes
Did you use extra space?A straight forward solution using O(mn) space is probably a bad idea.A simple improvement uses O(m+n) space, but still not the...
分类:其他好文   时间:2015-06-16 18:47:21    阅读次数:90
HDU 5015
http://acm.hdu.edu.cn/showproblem.php?pid=5015矩阵是表示状态转移的利器这题m很大,n非常小,所以开始的思考角度是能否从当前列推出下一列。有了这个角度,矩阵构造是很简单的#include #include #include using namespace ...
分类:其他好文   时间:2015-06-16 18:44:30    阅读次数:158
C#连接Oracle数据库查询数据
C#连接Oracle数据库可以实现许多我们需要的功能,下面介绍的是C#连接Oracle数据库查询数据的方法,如果您对C#连接Oracle数据库方面感兴趣的话,不妨一看。using System; using System.Collections.Generic; using System.Com.....
分类:数据库   时间:2015-06-16 18:35:01    阅读次数:103
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!