码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
短信验证码
代码源自 Microsoft.AspNet.Identity 程序集. 1 using System; 2 using System.Net; 3 using System.Security.Cryptography; 4 using System.Text; 5 6 namespace Authe
分类:其他好文   时间:2016-03-02 15:10:26    阅读次数:132
C#加密算法汇总
方法一: //须添加对System.Web的引用 using System.Web.Security; ... /// <summary> /// SHA1加密字符串 /// </summary> /// <param name="source">源字符串</param> /// <returns>
分类:编程语言   时间:2016-03-02 14:45:44    阅读次数:186
百度地图帮助类
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; using System.Web; namespace Test.Common {
分类:其他好文   时间:2016-03-02 11:09:20    阅读次数:231
c/c++将整数转换为字符串
#include <iostream> using namespace std; int main(int argc, char **argv) { int a,b,c=0; iint i,j; char d[6],e[6]; cin>>a; while(a>=10) { b=a%10; a=a/1
分类:编程语言   时间:2016-03-02 10:49:39    阅读次数:159
【C/C++学院】0906-递归转栈/二叉树实现
递归转栈 用栈实现递归.cpp #include #include using namespace std; int printN(int n) { if (n>0) { cout < 0)...
分类:编程语言   时间:2016-03-02 06:56:13    阅读次数:350
POJ 1067 取石子游戏(威佐夫博弈)
传送门 #include #include #include #include #include using namespace std; int main() { int a,b; while(~scanf("%d%d",&a,&b)) { int ok=1; if(a>b) swap(a,b);...
分类:其他好文   时间:2016-03-02 00:26:26    阅读次数:226
HDU 2509 Be the Winner(取火柴博弈2)
传送门 #include #include #include using namespace std; int main() { int n; while(~scanf("%d",&n)) { int a,res=0; int c=0,g=0; for(int i=0;i=2) c++; else ...
分类:Windows程序   时间:2016-03-02 00:19:41    阅读次数:225
1035 head of a gang
简单并查集 AC代码 #include <map> #include <string> #include <iostream> #include <cstdio> #include <vector> using namespace std; string find(map<string,string
分类:其他好文   时间:2016-03-02 00:18:33    阅读次数:133
bzoj 1041: [HAOI2008]圆上的整点
1 #include<cstdio> 2 #include<iostream> 3 #include<cmath> 4 using namespace std; 5 int sum; 6 long long R; 7 bool pan(int a1,double a4) 8 { 9 int a2=f
分类:其他好文   时间:2016-03-02 00:18:29    阅读次数:225
bzoj 1070: [SCOI2007]修车
1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #define M 10000 5 #define inf 2139062143 6 using namespace std; 7 int cnt=1,n,m,T,d[M],q
分类:其他好文   时间:2016-03-02 00:15:45    阅读次数:251
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!