
20130909湖南AU集训_OneMonth
文章平均质量分 79
程序员的冷浪漫
爱好coding对世界充满好奇心
展开
-
HNAU_FirstTraining
#include #include #include #include using namespace std;char str[3002];map m;void deal(){ string s; for(int i=0;str[i];i++) { s=""; while(str[i]&&str[i原创 2013-09-09 10:17:48 · 873 阅读 · 0 评论 -
26th Training
HNAU 26th Training Problem第 26次训练 2013 /10 /05 AMA.模拟 poj 2317B.递推 poj 1090 Chain 递推 + 大数加法C.数学 poj 1761D.搜索 poj 1680E.贪心原创 2013-10-04 22:57:02 · 784 阅读 · 0 评论 -
27th Training
HNAU 27th Training Problem第 27次训练 2013 /10/06 AMA.模拟 poj 2390B.递推 hdu 2501 Tiling_easy versionC.数学 poj 2140D.搜索 poj 2243原创 2013-10-05 15:37:49 · 793 阅读 · 0 评论 -
13th Training
#include #include #include using namespace std;#define M 1000002int fac[12]={0,1};void init(){ int i; for( i=2;i { fac[i]=fac[i-1]*i; }}int main(){原创 2013-09-22 09:28:25 · 741 阅读 · 0 评论 -
28、29、30th Training
HNAU 28th Training Problem第 28次训练 2013 /10/07 AMA.字符串 HDU 2296 Ring(AC自动机+DP) B.dp zoj 2432 Greatest Common Increasing SubsequenceC.数论原创 2013-10-06 23:27:48 · 1137 阅读 · 0 评论 -
16th Training
HNAU 13th Training Problem第13次训练 2013 /09 /24 AMA.模拟 poj 1677B.博弈 poj 2234 经典博弈算法C.数学 poj 1244 Slots of FunD.动态规划 poj 2184(活用dp)E原创 2013-09-24 23:00:55 · 656 阅读 · 0 评论 -
15th Training
HNAU nine Training Problem专题三: 数据结构专题 (并查集、堆) 2013 /09 /24 AM考查知识点 题号 problem_name 具体方法原创 2013-09-23 23:31:09 · 835 阅读 · 0 评论 -
17th Training
HNAU 17th Training Problem第17次训练 2013 /09 /26 AMA.模拟 poj 1684B.博弈 hdu 2188C.数学 poj 1958 Strange Towers of HanoiD.动态规划 poj 1112原创 2013-09-25 23:22:50 · 684 阅读 · 0 评论 -
20th Training
HNAU 20th Training Problem第 20次训练 2013 /09 /29 AMA.模拟 poj 1455B.博弈 hdu 2177C.数学 poj 1710D.搜索 poj 2362E.贪心 poj 1323F.图论原创 2013-09-28 23:12:12 · 661 阅读 · 0 评论 -
25th Training
HNAU 25th Training Problem第 25次训练 2013 /10 /04 AMA.模拟 poj 2083B.dp poj 2411(经典dp)C.数学 poj 2015(解密码)D.搜索 poj 1659E.贪心 p原创 2013-10-03 22:15:47 · 885 阅读 · 0 评论 -
Nine_training
#include #include #include #include #include #include using namespace std;#define M 10002struct people{ string name; int rp; people(){} people(string name,int rp)原创 2013-09-17 08:40:19 · 750 阅读 · 0 评论 -
Second——Training
#include #include #include #include #include using namespace std;#define M 12char graph[M][M][M];bool vis[M][M][M];int n;struct Point{ int x,y,z; int step; bool operat原创 2013-09-10 10:27:39 · 783 阅读 · 0 评论 -
Third_Training
#include #include #include using namespace std;#define M 5002#define INF 1e8struct point{ int x1,x2; int num;}graph[M];int n;int x1,y1,x2,y2;void show(){ for(int i原创 2013-09-11 11:51:53 · 833 阅读 · 0 评论 -
Fifth_Training
#include #include #include #include using namespace std;#define G 9.81int main(){ double k,l,h,w; double v; while(~scanf("%lf%lf%lf%lf",&k,&l,&h,&w)) {原创 2013-09-13 09:36:44 · 832 阅读 · 0 评论 -
Fourth_Trainnig
#include #include #include #include #include #include using namespace std;int x,k;char str[1002];int mypow(int a,int b){ int ans=1; while(b--) { ans*=a;原创 2013-09-12 09:50:28 · 689 阅读 · 0 评论 -
Six_Training
#include #include #include using namespace std;#define M 1002#define N 100002#define INF 10000002int m,n;setuser[M];int lib[N];void init(){ int i; for( i=1; i原创 2013-09-14 09:26:28 · 702 阅读 · 0 评论 -
21th Training
HNAU 21th Training Problem第 21次训练 2013 /09 /30 AMA.模拟 poj 2083B.dp poj 2411(经典dp)C.数学 poj 2015(解密码)D.搜索 poj 1659E.贪心 p原创 2013-09-29 22:57:17 · 797 阅读 · 0 评论 -
Seven_Training
#include #include #include #include using namespace std;#define M 500002int a[M];void get(){ int i,j; for( i = 1 ; i for ( j = 2 ; i*j a[i*j] += i;原创 2013-09-15 10:58:16 · 710 阅读 · 0 评论 -
19th Training
HNAU 18th Training Problem第18次训练 2013 /09 /27 AMA.模拟 poj 2271B.博弈 hdu 1848C.数学 poj 1830D.搜索 poj 2325E.贪心 poj 1784F.图论原创 2013-09-26 23:28:59 · 861 阅读 · 0 评论