Live2d Test Env
上一页 1 ··· 90 91 92 93 94 95 96 97 98 ··· 101 下一页
摘要: 最大字段和题型,推荐做题顺序: HDU1003 HDU1024 HDU1081 ZOJ2975 ZOJ2067 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(223) 评论(0) 推荐(0) 编辑
摘要: HDU1465HDU2048HDU2049#include #include #include #include #include using namespace std; long long s[21],c[21]; void _gets() { s[0]=0;s[1]=0;s[2]=1; for(i=3;i>n; while(n--){ cin>>m; pr... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Max Sum Plus Plus Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 31583 Accepted Submission(s): 1 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Lenny likes to play the game of lotto. In the lotto game, he picks a list of N unique numbers in the range from 1 to M. If his list matches the list o 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 昨天做过一样的题: 平方和公式:n*(n+1)*(2n+1)/6 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 第二次遇到双塔DP,再写一下。 (flag是为了避免memset多次导致的时间浪费) #include<cstdio> #include<cstdlib> #include<iostream> #include<cstring> using namespace std; char x[410],y[ 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(386) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; struct In { int id; int ReturnTime; int period; In(int i, int p):id(i), ReturnTime(p), period(p){} //重载写在在里面又怎么写? }; bool operato... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(105) 评论(0) 推荐(0) 编辑
摘要: ZOJ2150 快速幂,但是用递归式的好像会栈溢出。 #include<cstdio> #include<cstdlib> #include<iostream> #include<cmath> using namespace std; long long M,i; #define LL long l 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 初步找大概位置,然后找精确位置,算是简单化的分块吧! #include<cstdio> #include<cstdlib> #include<iostream> using namespace std; int c[5000]; int num=0; void _get() { int k=1,m; 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 题目:一个由‘.’和‘#’组成矩形,统计里面'.'组成的矩形的个数。 点击打开链接 自己写挂了,懒得搞了 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(188) 评论(0) 推荐(0) 编辑
上一页 1 ··· 90 91 92 93 94 95 96 97 98 ··· 101 下一页