码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
WCF安全 z
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
HDU 4864(Task)
意甲冠军:略。思考:馋。给了计算公式,得到的钱很特别的标题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
POJ2112 Optimal Milking(最大流)
先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
hdu3487 Play with Chain
自己写的第一颗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
HDU3996 Gold Mine(最大权闭合子图)
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
【LCM从1-n】 HDU 5407 CRB and Candies
通道题意:计算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++语言中的函数参数传参三种对比
学了很长时间C/C++有时指针方面还是有点乱。希望大神发现如果下面有不对的地方请指出。我发现之所以我乱就是因为中文表述不准确的问题,比如,地址值和地址#include #include using namespace std;void swap1(string* str1,string* str2)...
分类:编程语言   时间:2015-10-03 13:11:04    阅读次数:146
模线性方程 poj2115
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!