WCF custom authentication using ServiceCredentialsThe generally accepted way of authenticating a user with WCF is with a User Name and Password with t...
分类:
其他好文 时间:
2015-10-03 21:52:58
阅读次数:
278
意甲冠军:略。思考:馋。给了计算公式,得到的钱很特别的标题500*x+2*y,y#include #include #include using namespace std;typedef long long LL;const int N = 100005;struct Task { int ...
分类:
其他好文 时间:
2015-10-03 21:50:26
阅读次数:
160
先Floyd求牛到机器最短距离,然后二分枚举最长的边。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 #define INF (1 que; 31 que.push(vt); 32 ...
分类:
其他好文 时间:
2015-10-03 19:23:21
阅读次数:
278
策略算法级:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace StrategyDemo{ abstract class Strategy { ...
分类:
其他好文 时间:
2015-10-03 19:22:07
阅读次数:
194
自己写的第一颗splay。http://acm.hdu.edu.cn/showproblem.php?pid=3487 1 #include 2 #include 3 #include 4 using namespace std; 5 const int maxn = 3e5 + 1...
分类:
其他好文 时间:
2015-10-03 18:13:18
阅读次数:
280
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 #define INF (1LL que; 32 que.push(vt); 33 while(!que.empty()){ 34 ...
分类:
其他好文 时间:
2015-10-03 18:10:53
阅读次数:
272
通道题意:计算C(n,0)+...C(n,n)思路:转化为LCM(1...n)/ n代码:#include #include using namespace std;typedef long long ll;const int N = 1000000+2;const ll MOD = (ll)1e9...
分类:
其他好文 时间:
2015-10-03 15:36:39
阅读次数:
114
源码如下: 1 #include 2 #include 3 using namespace std; 4 5 int main(int argc, char *argv[]) 6 { 7 int a,b; //取输入值变量 8 int sum;//求答案变量 9 ...
分类:
其他好文 时间:
2015-10-03 15:33:36
阅读次数:
131
学了很长时间C/C++有时指针方面还是有点乱。希望大神发现如果下面有不对的地方请指出。我发现之所以我乱就是因为中文表述不准确的问题,比如,地址值和地址#include #include using namespace std;void swap1(string* str1,string* str2)...
分类:
编程语言 时间:
2015-10-03 13:11:04
阅读次数:
146
1 #include 2 #include 3 4 using namespace std; 5 6 long long exgcd(long long a,long long b,long long &x,long long &y) 7 { 8 if(b==0) 9 {1...
分类:
其他好文 时间:
2015-10-03 13:09:10
阅读次数:
148