#include#include#includeusing namespace std;const
double PRECISION = 1E-6;const int COUNT = 4;const int RESULT = 24;double
number[COUNT]; //这里一定要用...
分类:
编程语言 时间:
2014-05-16 07:12:29
阅读次数:
350
#include "stdafx.h"#include #include #include using
namespace std;INT i;VOID CALLBACK Fun(PTP_CALLBACK_INSTANCE Instancd,PVOID
Context,PTP_WORK Work){...
分类:
编程语言 时间:
2014-05-16 06:42:47
阅读次数:
421
1 #include 2 #include 3 using namespace std; 4
5 int main() 6 { 7 int n; 8 string str; 9 int flag;10 while (cin>>n)11 {12
...
分类:
其他好文 时间:
2014-05-16 06:05:15
阅读次数:
377
注意是>=//#define
LOCAL#include#include#include#include#includeusing namespace std;int
T,maxx;std::map word_count;std::map::iterator be,ed,result;string ...
分类:
其他好文 时间:
2014-05-16 05:20:32
阅读次数:
294
http://acm.hdu.edu.cn/showproblem.php?pid=1558先判断线段相交,然后用并查集合并。 1 #include 2
#include 3 #include 4 #define maxn 20000 5 using namespace std; 6 7 i...
分类:
其他好文 时间:
2014-05-16 05:18:02
阅读次数:
353
#include#include#include#include#includeusing
namespace std;#define MAXN 101000int sz;int ch[MAXN][2],f[MAXN];int
rev[MAXN],col[MAXN],node[MAXN];int l...
分类:
其他好文 时间:
2014-05-16 05:01:25
阅读次数:
412
#include#include#include#includeusing namespace
std;#define N 110000int pre[N],ch[N][2];int e[N],ne[N*2],v[N*2];int nn,m;int
col[N];int lc[N],sm[N],rc...
分类:
其他好文 时间:
2014-05-15 17:00:37
阅读次数:
300
1 #include 2 #include 3 using namespace std; 4
5 int main() 6 { 7 string str=""; 8 string str2=""; 9 char max;10 while
(getline(ci...
分类:
其他好文 时间:
2014-05-15 16:20:41
阅读次数:
258
发送端:#include #include #include using namespace
std;#include #include #include using namespace boost::interprocess;int num =
0;mapped_region *mp_r;void...
分类:
其他好文 时间:
2014-05-15 16:05:06
阅读次数:
258
/*题目描述:
给定两个整数A和B,其表示形式是:从个位开始,每三位数用逗号","隔开。现在请计算A+B的结果,并以正常形式输出。 输入:
输入包含多组数据数据,每组数据占一行,由两个整数A和B组成(-10^9 #include using namespace std;int main() {
st...
分类:
其他好文 时间:
2014-05-14 12:38:11
阅读次数:
186