Codeforces
文章平均质量分 79
zzuspy
本人初学者~~
展开
-
Codeforces Round #296 (Div. 2)
A. Playing with Papertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Vasya was sitting on a not so原创 2015-03-18 11:08:56 · 962 阅读 · 0 评论 -
Codeforces Round #295 (Div. 2) -- B. Two Buttons (模拟)
B. Two Buttonstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has found a strange device. On the fro原创 2015-03-03 18:25:14 · 806 阅读 · 0 评论 -
Codeforces Round #285 (Div. 2) -- A,B
A. Contesttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMisha and Vasya participated in a Codeforces cont原创 2015-03-28 14:56:12 · 784 阅读 · 0 评论 -
Codeforces Round #297 (Div. 2) -- D. Arthur and Walls (判断矩形)
D. Arthur and Wallstime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputFinally it is a day when Arthur has eno原创 2015-03-27 12:04:30 · 996 阅读 · 4 评论 -
Codeforces Round #297 (Div. 2) -- (A,B,C)
A. Vitaliy and Pietime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter a hard day Vitaly got very hungry原创 2015-03-27 11:54:28 · 987 阅读 · 0 评论 -
Codeforces Round #295 (Div. 2) -- A. Pangram
A. Pangramtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA word or a sentence in some language is called原创 2015-03-03 18:21:59 · 898 阅读 · 0 评论 -
Codeforces Round #294 (Div. 2) -- B. A and B and Compilation Errors
B. A and B and Compilation Errorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are preparing the原创 2015-03-01 18:02:41 · 665 阅读 · 0 评论 -
Codeforces Round #294 (Div. 2) -- D. A and B and Interesting Substrings
D. A and B and Interesting Substringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are preparing原创 2015-03-01 18:50:45 · 622 阅读 · 0 评论 -
Codeforces Round #294 (Div. 2) -- A. A and B and Chess
A. A and B and Chesstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are preparing themselves for pr原创 2015-03-01 17:58:18 · 578 阅读 · 0 评论 -
Codeforces Round #294 (Div. 2) -- C. A and B and Team Training
C. A and B and Team Trainingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are preparing themselve原创 2015-03-01 18:05:02 · 745 阅读 · 0 评论 -
ZeptoLab Code Rush 2015 -- (A,B,C)
A. King of Thievestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn this problem you will meet the simplif原创 2015-04-05 16:56:04 · 1020 阅读 · 0 评论 -
Codeforces Round #298 (Div. 2) -- (A,B,C)
题目传送:Codeforces Round #298 (Div. 2)A. Examtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output原创 2015-04-13 20:22:08 · 777 阅读 · 0 评论 -
Codeforces Round #Pi (Div. 2)
题目传送:Codeforces Round #Pi (Div. 2)A. Lineland Mail水题。。AC代码:#include <map>#include <set>#include <cmath>#include <deque>#include <queue>#include <stack>#include <cstdio>#include <cctype>#include原创 2015-08-06 16:35:25 · 673 阅读 · 0 评论 -
Codeforces Round #313 (Div. 2)
A. Currency System in Geraldiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA magic island Geraldion, w原创 2015-07-23 09:20:01 · 673 阅读 · 0 评论 -
Codeforces Round #315 (Div. 2)
题目传送:Codeforces Round #315 (Div. 2)A. Music题意较难懂,不过只要推公式就好了注意到S+(q - 1) * t = q * t;只需要t等于S即可,即每次增加S秒,就需要重新听一次歌AC代码:#include <map>#include <set>#include <list>#include <cmath>#include <deque>#incl原创 2015-08-12 20:58:30 · 734 阅读 · 0 评论 -
VK Cup 2015 - Finals, online mirror
F. Clique in the Divisibility Graph题目传送:Clique in the Divisibility Graph解法:筛法+DPAC代码:#include <map>#include <set>#include <cmath>#include <deque>#include <queue>#include <stack>#include <cstdio>原创 2015-07-31 09:44:03 · 821 阅读 · 0 评论 -
Codeforces Round #304 (Div. 2)
题目传送:Codeforces Round #304 (Div. 2)A. Soldier and Bananas思路:水题,等差数列求个和就好了AC代码:#include #include #include #include #include #include #include #include #include #inc原创 2015-05-23 14:58:34 · 755 阅读 · 0 评论 -
Codeforces Round #306 (Div. 2)
题目传送:Codeforces Round #306 (Div. 2)这次打的很差,有点累,先贴个代码吧。。A - Two Substrings#include #include #include #include #include #include #include #include #include #include #include #i原创 2015-06-05 10:44:38 · 768 阅读 · 0 评论 -
Codeforces Round #302 (Div. 2) -- (A,B,C)
题目传送:Codeforces Round #302 (Div. 2)A. Set of Strings思路:注意开头字母都不相同AC代码:#include #include #include #include #include #include #include #include #include #include原创 2015-05-08 10:03:10 · 765 阅读 · 0 评论 -
Codeforces Round #303 (Div. 2)
题目传送:Codeforces Round #303 (Div. 2)这场题目比较简单,就最后一个题要好好想想A. Toy Cars思路:水AC代码:#include #include #include #include #include #include #include #include #incl原创 2015-05-20 23:50:56 · 626 阅读 · 0 评论 -
Codeforces Round #301 (Div. 2) -- (A,B,C,D)
题目传送:Codeforces Round #301 (Div. 2)A. Combination Lock水题,求最小移动次数,简单贪心一下即可AC代码:#include #include #include #include #include #include #include #include #include #inclu原创 2015-05-01 10:27:02 · 1200 阅读 · 0 评论 -
Codeforces Round #300 (A,B,C,D)
题目传送:Codeforces Round #300A. Cutting Banner思路:一看题就会错意了,然后一顿猛敲,果不其然的被hack了,然后才发现只需要剪中间那一段就可以了,然后又傻逼得少写一个等号,还是被hack了,心累啊AC代码:#include #include #include #include #include #in原创 2015-04-27 17:29:05 · 1119 阅读 · 0 评论 -
Codeforces Round #299 (Div. 2) -- (A,B,C)
题目传送:Codeforces Round #299 (Div. 2)A. Tavas and Nafastime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output原创 2015-04-15 08:23:15 · 1183 阅读 · 0 评论 -
Codeforces Round #291 (Div. 2) -- B. Han Solo and Lazer Gun (计算几何~暴力)
B. Han Solo and Lazer Guntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n Imperial stormtroopers原创 2015-02-15 11:48:35 · 1595 阅读 · 0 评论 -
Codeforces Round #291 (Div. 2) -- C. Watto and Mechanism
C. Watto and Mechanismtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWatto, the owner of a spare parts st原创 2015-02-15 14:30:31 · 1303 阅读 · 4 评论 -
Codeforces Round #291 (Div. 2) -- A. Chewbaсca and Number
A. Chewbaсca and Numbertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLuke Skywalker gave Chewbacca an int原创 2015-02-15 11:45:38 · 1492 阅读 · 0 评论 -
Codeforces Round #281 (Div. 2) (A、B、C、D题)
昨天这场CF打的还挺爽的,不过就是没咋涨Rating,没把握好涨Rating的机会。。本来可以过四题的,,但是很失败,重评后跪了两道。。唉:-(A. Vasya and Football思路:给每个人计数,黄牌+1,红牌+2。当数字第一次超过2时输出。题目链接:A. Vasya and FootballAC代码:#include #原创 2014-12-04 16:49:08 · 978 阅读 · 0 评论 -
Codeforces Round #279 (Div. 2) (C题)
C. Hacking Cyphertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus participates in a competition f原创 2014-11-25 15:57:44 · 817 阅读 · 0 评论 -
Codeforces Round #279 (Div. 2) (A题)
A. Team Olympiadtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe School №0 of the capital of Berland has原创 2014-11-23 23:52:15 · 787 阅读 · 0 评论 -
Codeforces Round #279 (Div. 2) (B题)
B. Queuetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuring the lunch break all n Berland State Univers原创 2014-11-24 00:33:39 · 1169 阅读 · 2 评论 -
Codeforces Round #274 (Div. 2)——B、Towers
B. Towerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you know, all the kids in Berland love playing原创 2014-10-20 15:31:34 · 575 阅读 · 0 评论 -
Codeforces Round #274 (Div. 2) ——A、Expression
A. Expressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies in a school and he adores Maths.原创 2014-10-19 22:24:15 · 477 阅读 · 0 评论 -
Codeforces Round #290 (Div. 2) - - A. Fox And Snake (画图)
A. Fox And Snaketime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel starts to learn programming. The原创 2015-02-03 13:14:56 · 918 阅读 · 0 评论 -
Codeforces Round #289 (Div. 2, ACM ICPC Rules) -- A. Maximum in Table
A. Maximum in Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn n × n table a is defined as follows:原创 2015-02-06 19:41:34 · 662 阅读 · 0 评论 -
Codeforces Round #293 (Div. 2) -- B. Tanya and Postcard
B. Tanya and Postcardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Tanya decided to present her d原创 2015-02-25 13:03:41 · 939 阅读 · 0 评论 -
Codeforces Round #293 (Div. 2) -- A. Vitaly and Strings
A. Vitaly and Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVitaly is a diligent student who never原创 2015-02-25 12:56:41 · 1016 阅读 · 0 评论 -
Codeforces Round #293 (Div. 2) -- D. Ilya and Escalator (DP)
D. Ilya and Escalatortime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIlya got tired of sports programming,原创 2015-02-25 13:34:47 · 688 阅读 · 0 评论 -
Codeforces Round #293 (Div. 2) -- C. Anya and Smartphone
C. Anya and Smartphonetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnya has bought a new smartphone that原创 2015-02-25 13:05:52 · 752 阅读 · 0 评论 -
Codeforces Round #292 (Div. 2) -- D. Drazil and Tiles (拓扑排序)
D. Drazil and Tilestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil created a following problem abou原创 2015-02-18 13:26:18 · 1387 阅读 · 0 评论 -
Codeforces Round #292 (Div. 2) -- C. Drazil and Factorial
C. Drazil and Factorialtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil is playing a math game with原创 2015-02-18 10:21:19 · 1471 阅读 · 0 评论