码迷,mamicode.com
首页 >  
搜索关键字:namespace    ( 41927个结果
nyist 17 -----记忆式搜索------Accept
//记忆式搜索 #include #include#includeusing namespace std;char a[10002];int b[10002];int n,ans;int f(int x){ int i,t; if(b[x]>0) return b[x]; b[x]=1; for(....
分类:其他好文   时间:2014-08-12 18:43:24    阅读次数:138
hdu1078 bfs
1 //Accepted 468 KB 812 ms 2 //bfs+dp 3 #include 4 #include 5 #include 6 using namespace std; 7 #include 8 const int imax_n = 105; 9 int ma...
分类:其他好文   时间:2014-08-12 18:36:54    阅读次数:182
HDU 4941 Magical Forest
用map存信息,各种标记,各种。。。写的很乱,表在意。。。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 map mm[100005]; 8 map c; 9 map...
分类:其他好文   时间:2014-08-12 18:32:44    阅读次数:209
nyist 17 -----纯递归纯递推--超时
#include #include#includeusing namespace std;char a[10002];int b[10002];int n,ans;int f(int x){ int i,t; for(i=0;i>n;for(i=1;i#include#includeusing n....
分类:其他好文   时间:2014-08-12 18:31:24    阅读次数:294
poj 1088
hnldyhy(303882171) 11:28:19poj 1088//DP #include using namespace std; int a[102][102],b[102][102]; int r, c,ans; int f( int i, int j ) { int max...
分类:其他好文   时间:2014-08-12 18:18:14    阅读次数:223
zoj3471Most Powerful 状压dp
#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std;int n;int Map...
分类:其他好文   时间:2014-08-12 18:17:04    阅读次数:269
nyist 18---- hdu 2048----poj 1163-----rwkj 1143
//记忆式搜索 #include #include using namespace std; int a[101][101],n,b[101][101]; int f(int i,int j) { if ( b[i][j]!=-1 ) return b[i][j]; if ( i==n...
分类:其他好文   时间:2014-08-12 18:15:44    阅读次数:168
在同步中调用异步方法[.net 4.5]
using System;using System.Threading;using System.Threading.Tasks;namespace Microsoft.AspNet.Identity{ internal static class AsyncHelper { private stat...
分类:Web程序   时间:2014-08-12 18:08:14    阅读次数:278
HDFS High Availability Using the Quorum Journal Manager
目的 本指南提供一个HDFS HA特性的综述,描述了如何使用QJM配置和管理一个HA HDFS集群。 本文档假设读者对于HDFS中的通用组件和节点类型有一个大体的认识。请参考HDFS架构指南获取更多信息。 注意:使用QJM或者传统的共享存储 本文档讨论了如何用QJM配置和使用HDFS HA在Active NameNode和Standby NameNode共享edit日志文件...
分类:其他好文   时间:2014-08-12 17:18:04    阅读次数:327
HiHo 1014 Trie树
Trie树模板 #include using namespace std; struct Trie { int word[100020<<2][26]; int ex[100020<<2]; int sz; Trie() { sz=1; memset(word,0,sizeof(word)); memset(...
分类:其他好文   时间:2014-08-12 17:15:24    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!