Codeforces
文章平均质量分 84
AC_way
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
605B. Lazy Student(codeforces Round 335)
B. Lazy Studenttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputStudent Vladislav came to his programming e原创 2015-12-10 17:15:40 · 1891 阅读 · 0 评论 -
B. Two Buttons(Codeforces Round #295(div2))
B. Two Buttonstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has found a strange device. On the front panel o原创 2015-03-02 18:21:52 · 3372 阅读 · 0 评论 -
B. Amr and Pins (Codeforces Round #287 (div2))
B. Amr and Pinstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAmr loves Geometry. One day he came up with原创 2015-01-24 11:46:58 · 5691 阅读 · 0 评论 -
B. Misha and Changing Handles(Codeforces Round 285(div2))
B. Misha and Changing Handlestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMisha hacked the Codeforces si原创 2015-01-16 14:00:52 · 4520 阅读 · 0 评论 -
C. Guess Your Way Out!(Codeforces Round#287(div2))
C. Guess Your Way Out!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAmr bought a new video game "Guess Yo原创 2015-01-24 21:19:25 · 3522 阅读 · 0 评论 -
B. Maximum Value(Codeforces Round #276(div1)
B. Maximum Valuetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a sequence a consisting of n原创 2014-11-06 13:27:31 · 1516 阅读 · 0 评论 -
A. Bits(Codeforces Round #276(div1)
A. Bitstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's denote as the number of bits set ('1' bits)原创 2014-11-06 11:00:14 · 1042 阅读 · 0 评论 -
B. Towers(Codeforces Round #274)
B. Towerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you know, all the kids in Berland love playing原创 2014-10-20 07:19:56 · 771 阅读 · 0 评论 -
C. Dreamoon and Sums(Codeforces Round #272)
C. Dreamoon and Sumstime limit per test1.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon loves summing up something原创 2014-10-13 11:34:24 · 1099 阅读 · 0 评论 -
E. Dreamoon and Strings(Codeforces Round #272)
E. Dreamoon and Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon has a string s and a patter原创 2014-10-14 08:22:15 · 1692 阅读 · 0 评论 -
C. Exams(Codeforces Round #274)
C. Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputStudent Valera is an undergraduate student at the U原创 2014-10-20 07:30:02 · 1068 阅读 · 0 评论 -
A. Dreamoon and Stairs(Codeforces Round #272)
A. Dreamoon and Stairstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon wants to climb up a stair of原创 2014-10-13 12:49:06 · 938 阅读 · 0 评论 -
A. Expression(Codeforces Round #274)
A. Expressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies in a school and he adores Maths.原创 2014-10-20 07:14:01 · 877 阅读 · 0 评论 -
D. Dreamoon and Sets(Codeforces Round #272)
D. Dreamoon and Setstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon likes to play with sets, integ原创 2014-10-14 08:12:46 · 1376 阅读 · 2 评论 -
C. DNA Alignment(Codeforces Round #295(div2))
C. DNA Alignmenttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya became interested in bioinformatics. He's goin原创 2015-03-02 18:27:17 · 3347 阅读 · 0 评论 -
C. Ilya and Sticks(Codeforces Round 297(div2))
C. Ilya and Stickstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn the evening, after the contest Ilya w原创 2015-03-27 16:38:47 · 4068 阅读 · 0 评论 -
578C. Weakness and Poorness(Codeforces Round #320)
C. Weakness and Poornesstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a sequence of n inte原创 2015-09-17 09:20:21 · 3920 阅读 · 0 评论 -
Codeforces Round #Pi (Div. 2)
A题 题目大意: 给出一个数组,找每个位置的与序列里的其他值的差的绝对值最大值与最小值。解题思路: 记录位置并排序,最大值肯定与排序后的头元素或尾元素的差,最小值肯定是排序后的位置的前一个元素或者后一个元素。代码:#include #include #include #include using namespace std;cons原创 2015-08-06 11:58:43 · 3570 阅读 · 0 评论 -
573B. Bear and Blocks(Codeforces Round #318)
B. Bear and Blockstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a little bear who loves to play.原创 2015-08-30 03:36:45 · 5103 阅读 · 0 评论 -
Codeforces Round 313(div1)
A题: 题目大意: 给出内角全为120度的六边形的六条边的边长,求由多少边长为1的等边三角形构成。解题思路: 将六边形补全为一个大的等边三角形,则大的等边三角形的边长为六边形的相邻三边之和,接着减去补的部分,补的部分是三个边长为认识3个不相邻的六边形边长的长度构成的等边三角形,边长为a的等边三角形,由a*a个边长为1的小三角形构成。原创 2015-07-23 11:42:56 · 5481 阅读 · 0 评论 -
Codeforces Round #316 (Div. 2)
A题题目大意: 一个城市有m个城市,每个城市先投票选出一个候选人,得票多的胜出,得票相同时,下标小的胜出,接着在城市选出的候选人中选出一个胜者。解题思路: 按照题意模拟就好了。代码:#include #include #include #include using namespace std;const int m原创 2015-08-14 09:43:21 · 3975 阅读 · 0 评论 -
571B. Minimization(Codeforces Round #317)
B. Minimizationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got array A, consisting of n integer原创 2015-08-23 09:55:50 · 4865 阅读 · 2 评论 -
C. Amr and Chemistry(Codeforces Round #312(div2))
C. Amr and Chemistrytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAmr loves Chemistry, and specially doin原创 2015-07-15 09:46:47 · 4895 阅读 · 0 评论 -
547B. Mike and Feet(codeforces Round #305)
B. Mike and Feettime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMike is the president of country What-The-F原创 2015-06-19 15:32:41 · 4618 阅读 · 0 评论 -
547A . Mike and Frog(codeforces Round 305)
A. Mike and Frogtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMike has a frog and a flower. His frog is n原创 2015-06-18 10:19:23 · 4308 阅读 · 0 评论 -
C. Writing Code(Codeforces Round #302(div2)
C. Writing Codetime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProgrammers working on a large project have原创 2015-05-08 17:12:40 · 3944 阅读 · 0 评论 -
534D.Handshakes(Codeforces Round #298(div2))
D. Handshakestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOn February, 30th n students came in the Cente原创 2015-04-13 21:32:15 · 4143 阅读 · 0 评论 -
534C. Polycarpus' Dice(Codeforces Round #298(div2))
C. Polycarpus' Dicetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has n dice d1, d2, ..., dn. T原创 2015-04-13 21:10:36 · 2948 阅读 · 0 评论 -
C. Om Nom and Candies(ZeptoLab Code Rush 2015)
C. Om Nom and Candiestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA sweet little monster Om Nom loves ca原创 2015-04-14 13:44:42 · 4415 阅读 · 0 评论 -
B. Dreamoon and WiFi(Codeforces Round 272)
B. Dreamoon and WiFitime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon is standing at the position 0原创 2014-10-13 12:50:43 · 1432 阅读 · 0 评论 -
A. Initial Bet(Codeforces Round #273)
A. Initial Bettime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are five people playing a game called "原创 2014-10-17 07:36:19 · 1502 阅读 · 0 评论 -
C. Table Decorations(Codeforces Round 273)
C. Table Decorationstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have r red, g green and b blue ba原创 2014-10-17 11:22:26 · 2161 阅读 · 1 评论 -
B. MUH and Important Things(Codeforces Round #269)
B. MUH and Important Thingstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt's time polar bears Menshykov原创 2014-09-27 02:27:06 · 1109 阅读 · 0 评论 -
A. MUH and Sticks(Codeforces Round #269)
A. MUH and Stickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo polar bears Menshykov and Uslada from原创 2014-09-27 02:21:30 · 1280 阅读 · 0 评论 -
C. MUH and House of Cards(Codeforces Round #269)
C. MUH and House of Cardstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolar bears Menshykov and Uslada f原创 2014-09-27 02:11:58 · 1531 阅读 · 0 评论 -
hdu 4991 Ordered Subsequence(Bestcoder Round #8 1003)
Ordered SubsequenceTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 214 Accepted Submission(s): 109Problem DescriptionA numeri原创 2014-09-10 00:05:20 · 638 阅读 · 0 评论 -
Codeforces Round #265 (div2) A. inc ARG
A. inc ARGtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSergey is testing a next-generation processor. In原创 2014-09-08 13:19:47 · 666 阅读 · 0 评论 -
Codeforces Round #263 (div2) A. Appleman and Easy Task
A. Appleman and Easy Tasktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToastman came up with a very easy原创 2014-08-27 08:59:06 · 2491 阅读 · 0 评论 -
Codeforces Round #265 (div2) B. Inbox (100500)
B. Inbox (100500)time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOver time, Alexey's mail box got littered原创 2014-09-08 12:02:06 · 827 阅读 · 0 评论 -
Codeforces Round #265(div2) 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 11:57:33 · 809 阅读 · 0 评论
分享