Live2d Test Env
上一页 1 ··· 96 97 98 99 100 101 下一页
摘要: 第二次遇到双塔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 阅读(388) 评论(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 阅读(106) 评论(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 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Zoj1654 标准解法:二分匈牙利。 写法各异嘛,看不懂或者懒得看也正常,如果想了解我思路的可以和我讨论的。 在练习sap,所以还是写了一遍: 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(152) 评论(0) 推荐(0) 编辑
摘要: A war had broken out because a sheep from your kingdom ate some grasses which belong to your neighboring kingdom. The counselor of your kingdom had to 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 代码先寄放这里 #include #include #include #include #include #include using namespace std; int n,m,T=0; mapMap; void _update() { Map.clear(); } void _init1() { string s; for(int i=1;i>s; ... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Alice bought a lot of pairs of socks yesterday. But when she went home, she found that she has lost one of them. Each sock has a name which contains e 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(234) 评论(0) 推荐(0) 编辑
摘要: FatMouse's SpeedTime Limit: 2 Seconds Memory Limit:65536 KB Special Judge FatMouse believes that the fatter a mouse is, the faster it runs. To disprov 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(243) 评论(0) 推荐(0) 编辑
上一页 1 ··· 96 97 98 99 100 101 下一页