┠──>CF
hhfgeg
这个作者很懒,什么都没留下…
展开
-
CF Codeforces Round #256 (Div. 2) D (448D) Multiplication Table
Multiplication Tabletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBizon the Champion isn't just charming,原创 2014-07-18 09:14:21 · 1568 阅读 · 0 评论 -
CF 439D(251D题)Devu and his Brother
Devu and his Brothertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDevu and his brother love each other a lot. As th原创 2014-06-05 20:48:48 · 2807 阅读 · 0 评论 -
Codeforces Round #254 (Div. 2) C (444A)DZY Loves Physics
DZY Loves Physicstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY loves Physics, and he enjoys calculati原创 2014-07-07 15:44:42 · 817 阅读 · 0 评论 -
CF 435B Pasha Maximizes(249.B)
Pasha Maximizestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPasha has a positive integer a without leading zeroes.原创 2014-06-04 22:58:33 · 1109 阅读 · 0 评论 -
CF Codeforces Round #257 (Div. 1) A (449A) Jzzhu and Chocolate
CF Codeforces Round #257 (Div. 1) A (449A) Jzzhu and Chocolate原创 2014-07-20 07:45:40 · 1060 阅读 · 0 评论 -
Codeforces Round #256 (Div. 2) C (448C)Painting Fence
分治!首先是一大块,贪行刷和竖刷的最小,再转化为小块。。。。。。。。。。。。AC代码如下:#include#include#includeusing namespace std;int n;int a[5005];int solve(int l,int r){ int i,j; int len=r-l+1;原创 2014-07-18 09:57:44 · 1607 阅读 · 0 评论 -
CF 443B(253B)Kolya and Tandem Repeat
Kolya and Tandem Repeattime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKolya got string s for his birthday, the stri原创 2014-06-20 19:38:51 · 2021 阅读 · 0 评论 -
Codeforces Round #256 (Div. 2) B (448B) Suffix Structures
题意就是将第一个字符串转化为第二个字符串,支持两个操作,一个是删除,一个是更换字符位置。简单的字符串操作!!AC代码如下:#include#include#include#include#define M 50010#define inf 100000000using namespace std;char a[1005],b[1005];int la,lb;bo原创 2014-07-18 09:23:32 · 1005 阅读 · 0 评论 -
Codeforces Round #254 (Div. 2) B (445B)DZY Loves Chemistry
DZY Loves Chemistrytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY loves chemistry, and he enjoys mixin原创 2014-07-07 08:58:24 · 1033 阅读 · 0 评论 -
Codeforces Round #FF (Div. 2)
A. DZY Loves Hash 水题!!AC代码如下:#include#include#include#include#include#define inf 100000000#define M 100005#define ll long long#define F(a,b) for(i=a;i<=b;i++)#define ME(a) memse原创 2014-07-14 10:24:48 · 1101 阅读 · 0 评论 -
CF Zepto Code Rush 2014 A - Feed with Candy
Feed with Candytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe hero of the Cut the Rope game is a little monster原创 2014-06-14 10:53:35 · 1453 阅读 · 0 评论 -
CF 439C(251C题)Devu and Partitioning of the Array
Devu and Partitioning of the Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDevu being a small kid, likes to pl原创 2014-06-05 11:09:11 · 1406 阅读 · 0 评论 -
CF Codeforces Round #258 (Div. 2) B (451B)
Sort the Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBeing a programmer, you like arrays a lot. Fo原创 2014-07-25 07:46:41 · 959 阅读 · 0 评论