码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
Apache2: How To Redirect Users To Mobile Or Normal Web Site Based On Device Using mod_rewrite
http://www.howtoforge.com/apache2-how-to-redirect-users-to-mobile-or-normal-web-site-based-on-device-using-mod_rewriteApache2: How To Redirect Users T...
分类:Web程序   时间:2014-05-21 22:53:20    阅读次数:432
奥数 --- 找规律 + 总结
问题 G: 数字的个数时间限制: 1 Sec内存限制: 128 MB提交: 78解决: 3[提交][状态][讨论版]题目描述输入两个正整数a,b(1=using namespace std;int fun(int a,int d){ int cnt=0,factor=1,CurrNum=0,L...
分类:其他好文   时间:2014-05-21 22:38:00    阅读次数:255
Windows.Forms Panel 动态加载用户控件 UserControl
创建好一个Windows Forms程序,在创建好的程序中Form1添加一个Panel控件如图:然后再程序中添加一个用户控件添加好以后再目录看见就是创建好了,然后在用户控件随便拉几个按钮(为了主函数加载的时候显示效果)然后再主函数的 Form1_Load先在命名空间加上 :using UserCon...
分类:Windows程序   时间:2014-05-21 21:45:29    阅读次数:772
连接数据库
using System.Data.SqlClient;static void Main(string[] args) { string connString = @"Data Source=.; Initial Catalog=lh0216; User ID=s...
分类:数据库   时间:2014-05-21 21:37:07    阅读次数:369
POJ 2192 Zipper
大体题意: 先输入试验次数num,再输入三个字符串A,B,C,判断C可否由A,B按照某种次序组成。如下图。 #include #include using namespace std; #define MAX_SIZE 205 char A[MAX_SIZE]; char B[MAX_SIZE]; char C[2 * MAX_SIZE]; bool...
分类:其他好文   时间:2014-05-21 16:05:09    阅读次数:209
hdu 1856 More is better
题目:     链接:点击打开链接 题意:     给出n个直接认识的朋友,最大的直接或间接认识的朋友。 思路: 算法:     并查集,,, 代码: #include #include #include using namespace std; #define MAXN 100010 int root[MAXN]; int member[MAXN];//表示在i结点处的,认识的...
分类:其他好文   时间:2014-05-21 10:59:57    阅读次数:254
HRBUST 1328 相等的最小公倍数
SOl:将原题改为枚举N的每一对因子,计算其是否互素即可。 #include #include #include using namespace std; inline int gcd(int a,int b) { return b==0?a:gcd(b,a%b); } int main() { int n,T,i,j; scanf("%d",&T); while(T...
分类:其他好文   时间:2014-05-21 07:07:00    阅读次数:273
POJ2236 wireless network 【并查集水题】
一张图上分布着n台坏了的电脑,并知道它们的坐标。两台修好的电脑如果距离 #include #include #include #include #include #include const int MAXN=111111; const int MAX_N=111111; int n,d; using namespace std; struct po { int x,y; boo...
分类:Web程序   时间:2014-05-21 06:29:47    阅读次数:418
winform小程序------加密解密,CryptoStream()的使用
一:上图二:代码主界面代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using ...
分类:Windows程序   时间:2014-05-21 06:20:19    阅读次数:439
执行SQL存储脚本
using System.Data.SqlClient;static void Main(string[] args) { string connString = @"Data Source=.; Initial Catalog=lh0216; User ID=s...
分类:数据库   时间:2014-05-21 04:18:08    阅读次数:388
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!