摘要:
http://poj.org/problem?id=2533#include#include#include#includeusing namespace std;int num[1000+100];int dp[1000+100];int main(){ int n; int i,j;... 阅读全文
摘要:
不明白为什么要放在dp里#include#include#include#includeusing namespace std;int main(){ char add[10]="(max)"; char str[200]; while(scanf("%s",str)!=EOF) ... 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=5142#include#include#include#include#includeusing namespace std;int bin[100];int main(){ int t,n,i,j,k; ... 阅读全文
摘要:
#include#include#include#include#includeusing namespace std;#define INF 100000000int u[6000],v[6000],w[6000];int first[6000],next[6000];int coun[6000]... 阅读全文
摘要:
#include#include#include#includeusing namespace std;char mat[20][20];int ans[15];int n;bool ok(int x,int y){ int tx,ty; int ans[15]; int temp... 阅读全文
摘要:
#include#include#include#includeusing namespace std;char mat[50][50];int n,m;int ans;int op[4][2]={0,1,0,-1,1,0,-1,0};bool ok(int x,int y){ if(0<=x... 阅读全文