
codeforces
文章平均质量分 83
akxxsb
写写博客装装逼,存代码
展开
-
Codeforces Round #265 (Div. 2) C. No to Palindromes!(字符串+构造??)
C. No to Palindromes!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPaul hates palindromes. He assumes tha原创 2014-09-08 20:24:01 · 1113 阅读 · 0 评论 -
Codeforces Round #302 (Div. 2) D. Destroying Roads(最短路)
D. Destroying Roadstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn some country there are exactly n cit原创 2015-05-08 19:34:44 · 956 阅读 · 0 评论 -
Codeforces Round #302 (Div. 2) E. Remembering Strings(状压dp)
E. Remembering Stringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have multiset of n strings of th原创 2015-05-08 20:20:50 · 1394 阅读 · 0 评论 -
Codeforces Round #307 (Div. 2) C. GukiZ hates Boxes(二分)
C. GukiZ hates Boxestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProfessor GukiZ is concerned about mak原创 2015-06-18 13:16:51 · 1279 阅读 · 0 评论 -
Codeforces Round #307 (Div. 2)E. GukiZ and GukiZiana(分块)
E. GukiZ and GukiZianatime limit per test10 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProfessor GukiZ was playing with ar原创 2015-06-18 13:28:17 · 1002 阅读 · 1 评论 -
Codeforces Round #307 (Div. 2) D. GukiZ and Binary Operations(数学)
D. GukiZ and Binary Operationstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWe all know that GukiZ often原创 2015-06-18 13:22:17 · 1018 阅读 · 0 评论 -
Codeforces Round #285 (Div. 1)A. Misha and Forest(构造题)
A. Misha and Foresttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's define a forest as a non-directed原创 2015-06-20 15:11:35 · 1020 阅读 · 0 评论 -
Codeforces Round #285 (Div. 1)B. Misha and Permutations Summation(数学+数据结构打脸)
B. Misha and Permutations Summationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's define the sum of原创 2015-06-20 15:19:00 · 1167 阅读 · 0 评论 -
Codeforces Round #308 (Div. 2)
A. Vanya and Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya has a table consisting of 100 rows原创 2015-06-20 15:29:36 · 935 阅读 · 0 评论 -
Codeforces Round #311 (Div. 2)题解
A. Ilya and Diplomastime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSoon a school Olympiad in Informatics w原创 2015-07-03 10:13:48 · 1694 阅读 · 0 评论 -
Codeforces Round #309 (Div. 1) C. Love Triangles(二分图)
C. Love Trianglestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are many anime that are about "love原创 2015-07-03 10:44:44 · 1334 阅读 · 0 评论 -
Codeforces Round #310 (Div. 1) B. Case of Fugitive(set二分)
B. Case of Fugitivetime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndrewid the Android is a galaxy-famous原创 2015-07-03 10:56:57 · 1129 阅读 · 0 评论 -
Codeforces Round #309 (Div. 1) D. Nudist Beach 数据结构
D. Nudist Beachtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNudist Beach is planning a military operati原创 2015-07-03 10:54:16 · 1298 阅读 · 0 评论 -
Codeforces Round #302 (Div. 2)C (完全背包)
C. Writing Codetime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProgrammers working on a large project have原创 2015-05-08 03:15:44 · 1089 阅读 · 0 评论 -
Codeforces Round #273 (Div. 2)D dp
D. Red-Green Towerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are r red and g green blocks for原创 2014-10-18 01:02:12 · 1355 阅读 · 0 评论 -
树状数组Codeforces Round #261 (Div. 2)D
D. Pashmak and Parmida's problemtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputParmida is a clever girl a原创 2014-08-16 22:36:21 · 1045 阅读 · 0 评论 -
构造数列Codeforces Round #261 (Div. 2)C
C. Pashmak and Busestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently Pashmak has been employed in a原创 2014-08-16 22:31:44 · 917 阅读 · 0 评论 -
D. DZY Loves Modification
D. DZY Loves Modificationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs we know, DZY loves playing gam原创 2014-07-14 16:28:12 · 1571 阅读 · 0 评论 -
C. DZY Loves Sequences
C. DZY Loves Sequencestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY has a sequence a, consisting of n原创 2014-07-14 16:10:55 · 1062 阅读 · 0 评论 -
Codeforces Round #240 (Div. 2) Mashmokh and Numbers
题意找出一组数列,满足每相邻的两个数的最大公因数和为给定的值。,注意相邻两个数的公约数为一就好做了,注意下边界即可C. Mashmokh and Numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutp原创 2014-04-09 23:12:11 · 1362 阅读 · 0 评论 -
Codeforces Round #238 (Div. 2) B题
字符串处理题B. Domino Effecttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Chris knows there's no f原创 2014-03-23 01:08:25 · 1797 阅读 · 0 评论 -
Codeforces Round #238 (Div. 2) A题
A. Gravity Fliptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output大水题,直接排序输出Little Chris is bored during h原创 2014-03-23 01:07:31 · 1588 阅读 · 0 评论 -
Codeforces Round #236 (Div. 2)B
本题枚举第一课树的高度即可B. Trees in a Rowtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Queen of England has n原创 2014-03-17 01:40:19 · 1625 阅读 · 0 评论 -
Codeforces Round #265 (Div. 2)D. Restore Cube 暴力
D. Restore Cubetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPeter had a cube with non-zero length of a s原创 2014-09-08 23:27:10 · 1136 阅读 · 0 评论 -
Codeforces Round #265 (Div. 2)E. Substitutes in Number(数学)
E. Substitutes in Numbertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndrew and Eugene are playing a gam原创 2014-09-09 10:22:27 · 1365 阅读 · 0 评论 -
map+pair Bayan 2015 Contest Warm Up D题
D. CGCDSSQtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGiven a sequence of integers a1, ..., an andq queries x1原创 2014-10-12 01:09:44 · 1273 阅读 · 0 评论 -
Codeforces Round #277.5 (Div. 2)部分题解
A. SwapSorttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn this problem your goal is to sort an array co原创 2014-11-18 20:29:16 · 1353 阅读 · 0 评论 -
Codeforces Round #309 (Div. 1) B. Kyoya and Permutation(数学)
B. Kyoya and Permutationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's define the permutation of le原创 2015-07-03 10:38:17 · 1264 阅读 · 0 评论