代码源自 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
方法一: //须添加对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
#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
递归转栈
用栈实现递归.cpp
#include
#include
using namespace std;
int printN(int n)
{
if (n>0)
{
cout < 0)...
分类:
编程语言 时间:
2016-03-02 06:56:13
阅读次数:
350
传送门 #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
传送门 #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 ...
简单并查集 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
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
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