摘要: #include#include#include#include#includeusing namespace std;int T;char s[100+10];char r[100+10];mapm;struct dan{ char s[100+10]; int num;}d[1000... 阅读全文
posted @ 2015-12-27 17:40 Fighting_Heart 阅读(177) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std;int whp,wat,wdef,bhp,bat,bdef;char s; int main(){ while(~scanf("%c",&s)) { scanf("... 阅读全文
posted @ 2015-12-27 17:40 Fighting_Heart 阅读(135) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#include#includeusing namespace std;const int maxn=1000+10;char s[maxn][maxn];int n,m;int c[maxn][maxn];int su... 阅读全文
posted @ 2015-12-27 17:39 Fighting_Heart 阅读(181) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std;using namespace std;const int maxn=100000+10;int a[maxn],b[maxn];int main(){ int n,m; while(scanf("%d %d",&n... 阅读全文
posted @ 2015-12-27 17:38 Fighting_Heart 阅读(463) 评论(4) 推荐(0) 编辑
摘要: #include#include#include#include#includeusing namespace std;const int maxn=100+10;int G[maxn][maxn];int f[maxn];int n;struct Egde{ int u,v; int ... 阅读全文
posted @ 2015-12-27 17:38 Fighting_Heart 阅读(100) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std;const int maxn=120;long long X,K;long long basex[maxn];long long basek[maxn];int totx,totk;int ma... 阅读全文
posted @ 2015-12-27 17:38 Fighting_Heart 阅读(116) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#includeusing namespace std;struct Point{ double x; double y;} p[1001], px[10001];int n;double eps=1e-8;int cmp(... 阅读全文
posted @ 2015-12-27 17:37 Fighting_Heart 阅读(193) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#include#includeusing namespace std;char s[100+10][20+10];int n;mapm;int main(){ while(~scanf("%d",&n)){ ... 阅读全文
posted @ 2015-12-27 17:36 Fighting_Heart 阅读(131) 评论(0) 推荐(0) 编辑