导航

2012年11月22日

摘要: 题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=2043最基础的模拟题目,只要按照题目给出的要求进行判断即可。代码如下: 1 #include<iostream> 2 #include<string> 3 using namespace std; 4 const string s="~!@#$%^"; 5 string ss; 6 int n; 7 int yes(string a){ 8 if (a.size()<8 || a.size()>16) return 0; 9 int t1,t2 阅读全文

posted @ 2012-11-22 19:17 Mis'World 阅读(226) 评论(0) 推荐(0)

摘要: 题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=2043模拟代码如下:#include<iostream>#include<string>using namespace std;const string s="~!@#$%^";string ss;int n;int yes(string a){ if (a.size()<8 || a.size()>16) return 0; int t1,t2,t3,t4; t1=t2=t3=t4=0; for (string::size_type i(0) 阅读全文

posted @ 2012-11-22 19:14 Mis'World 阅读(85) 评论(0) 推荐(0)

摘要: testing...#include <cstdio>#include <cstring>#include <cstdlib>#include <cmath>using namespace std;const int maxn=10010;const int maxm=maxn*2;const int maxu=maxn*4;const int maxt=maxn*10;const int oo=1993101215;int test,n,e,indexs,dep,tot,lca,debug;int id; //ÖØÁ 阅读全文

posted @ 2012-11-22 16:36 Mis'World 阅读(136) 评论(0) 推荐(0)