2012年7月12日
摘要:
1 #include<cstdio> 2 #include<cstring> 3 #include<vector> 4 #include<algorithm> 5 #define MAXN 160 6 #define MAXM 20 7 #define MAXL 280 8 using namespace std; 9 int n,m; 10 bool land[MAXN][MAXM]; 11 int put[MAXL][MAXM],cnt[MAXL],tmp[MAXM],size; 12 vector<int>G[MAXL]; 13 阅读全文
posted @ 2012-07-12 21:30
DrunBee
阅读(342)
评论(0)
推荐(0)
摘要:
1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 using namespace std; 5 #define MAXN 110 6 #define MAXM 66 7 char s[MAXN][MAXM]; 8 int n,m,size; 9 int dp[MAXN][MAXM][MAXM]; 10 int h[MAXN],a[MAXN],cnt[MAXN]; 11 inline bool OK(int x) 12 { 13 if(x&(x<<1)) 14 re 阅读全文
posted @ 2012-07-12 02:54
DrunBee
阅读(250)
评论(0)
推荐(0)
浙公网安备 33010602011771号