![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Codeforces
S_Black
学生
展开
-
Codeforces Round #355 (Div. 2)
Codeforces Round #355 (Div. 2) 说实在话,CF手快不及眼快,我题目意思还没读懂别人都写完了…冲1800的希望又破灭了…Codeforces官方题解A. Vanya and Fence 大于h就是2,小于等于就是2,一个个加起来。#include <iostream>#include <cstdio>#include <cstring>using na原创 2016-06-02 16:21:53 · 549 阅读 · 0 评论 -
【CODEFORCES】 C. Captain Marmot
C. Captain Marmottime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCaptain Marmot wants to prepare a huge and原创 2015-07-22 10:17:53 · 758 阅读 · 0 评论 -
【Codeforces Round #313 (Div. 2)】A B C D--solutions
A. Currency System in Geraldiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA magic island Geraldion, w原创 2015-07-23 09:06:53 · 916 阅读 · 0 评论 -
【CODEFORCES】 D. Flowers
D. Flowerstime limit per test1.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWe saw the little game Marmot made for Mole's原创 2015-07-22 19:26:53 · 740 阅读 · 0 评论 -
【CODEFORCES】 F. Ant colony
F. Ant colonytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMole is hungry again. He found one ant colony,原创 2015-08-01 19:10:14 · 935 阅读 · 0 评论 -
【CODEFORCES】 B. Worms
B. Wormstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt is lunch time for Mole. His friend, Marmot, prep原创 2015-07-21 15:29:55 · 747 阅读 · 6 评论 -
【CODEFORCES】 A. Keyboard
A. Keyboardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOur good friend Mole is trying to code a big me原创 2015-07-21 15:27:53 · 756 阅读 · 0 评论 -
【CODEFORCES】 D. CGCDSSQ
D. CGCDSSQtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGiven a sequence of integers a1, ..., an and q q原创 2015-07-20 20:10:39 · 1215 阅读 · 3 评论 -
【CODEFORCES】 D. Red-Green Towers
D. Red-Green Towerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are r red and g green blocks fo原创 2015-08-01 10:08:18 · 1070 阅读 · 0 评论 -
【CODEFORCES】 C. Kamal-ol-molk's Painting
C. Kamal-ol-molk's Paintingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRumors say that one of Kamal-ol原创 2015-07-18 19:24:07 · 618 阅读 · 0 评论 -
【CODEFORCES】 B. Strongly Connected City
B. Strongly Connected Citytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputImagine a city with n horizontal原创 2015-07-18 10:54:22 · 770 阅读 · 0 评论 -
【CODEFORCES】 A. Bayan Bus
A. Bayan Bustime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe final round of Bayan Programming Contest w原创 2015-07-18 10:51:29 · 504 阅读 · 0 评论 -
【CODEFORCES】 A. Expression
A. Expressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies in a school and he adores Maths.原创 2015-08-07 19:18:30 · 648 阅读 · 0 评论 -
【CODEFORCES】 B. Towers
B. Towerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you know, all the kids in Berland love playing原创 2015-08-07 19:16:23 · 658 阅读 · 0 评论 -
【CODEFORCES】 C. Table Decorations
C. Table Decorationstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have r red, g green and b blue ba原创 2015-07-27 16:26:01 · 867 阅读 · 0 评论 -
【CODEFORCES】 A. Exams
A. Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputStudent Valera is an undergraduate student at the U原创 2015-08-03 16:52:18 · 520 阅读 · 0 评论 -
【CODEFORCES】 E. Pillars
E. Pillarstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMarmot found a row with n pillars. The i-th pil原创 2015-07-23 21:00:20 · 1139 阅读 · 0 评论 -
【CODEFORCES】 A. Dreamoon and Sums
A. Dreamoon and Sumstime limit per test1.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon loves summing up something原创 2015-07-24 18:45:20 · 642 阅读 · 0 评论 -
Codeforces Round #277 (Div. 2) A·B·C
A. Calculating Functiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFor a positive integer n let's defin原创 2016-03-07 17:33:16 · 534 阅读 · 0 评论 -
【CODEFORCES】 D. Interesting Array
D. Interesting Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWe'll call an array of n non-negative i原创 2016-01-07 09:51:59 · 637 阅读 · 0 评论 -
【CODEFORCES】 C. Hacking Cypher
C. Hacking Cyphertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus participates in a competition for原创 2016-01-23 15:40:23 · 640 阅读 · 0 评论 -
【CODEFORCES】 B. Queue
B. Queuetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuring the lunch break all n Berland State Univers原创 2016-01-23 15:33:32 · 656 阅读 · 0 评论 -
【CODEFORCES】 A. Team Olympiad
A. Team Olympiadtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe School №0 of the capital of Berland has原创 2016-01-23 15:27:33 · 640 阅读 · 0 评论 -
【CODEFORCES】 B. Valuable Resources
B. Valuable Resourcestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMany computer strategy games require b原创 2016-01-22 19:34:51 · 469 阅读 · 0 评论 -
【CODEFORCES】 C. Bits
C. Bitstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's denote as the number of bits set ('1' bits) i原创 2016-01-22 19:19:31 · 708 阅读 · 0 评论 -
【CODEFORCES】C. Diverse Permutation
C. Diverse Permutationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPermutation p is an ordered set of in原创 2015-11-02 20:33:01 · 437 阅读 · 0 评论 -
【CODEFORCES】 B. Friends and Presents
B. Friends and Presentstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have two friends. You want to pr原创 2015-11-02 20:29:33 · 468 阅读 · 0 评论 -
【CODEFORCES】 Educational Codeforces Round 1
这次比赛写的好蠢,只A了2前两道,第一题一开始还想错了……程序这东西还是要多练,最近也要比赛了,自己要加油~~A. Tricky Sumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard原创 2015-11-23 18:58:20 · 610 阅读 · 0 评论 -
【CODEFORCES】 C. Riding in a Lift
C. Riding in a Lifttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputImagine that you are in a building that原创 2015-08-06 20:35:16 · 952 阅读 · 0 评论 -
【CODEFORCES】 B. Long Jumps
B. Long Jumpstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputValery is a PE teacher at a school in Berland.原创 2015-08-06 15:51:14 · 838 阅读 · 0 评论 -
【CODEFORCES】 B. Dreamoon and WiFi
B. Dreamoon and WiFitime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon is standing at the position 0原创 2015-07-24 20:08:35 · 1041 阅读 · 0 评论 -
【CODEFORCES】 A. Dreamoon and Stairs
A. Dreamoon and Stairstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon wants to climb up a stair of原创 2015-07-24 19:21:48 · 864 阅读 · 0 评论 -
【CODEFORCES】 B. Random Teams
B. Random Teamstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputn participants of the competition were split原创 2015-07-27 15:40:52 · 910 阅读 · 0 评论 -
【CODEFORCES】 C. Dreamoon and Strings
C. Dreamoon and Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon has a string s and a patter原创 2015-07-27 10:21:44 · 769 阅读 · 0 评论 -
【CODEFORCES】 B. Inbox (100500)
B. Inbox (100500)time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOver time, Alexey's mail box got littered原创 2015-01-09 17:40:32 · 726 阅读 · 0 评论 -
【CODEFORCES】 D. Gargari and Permutations
D. Gargari and Permutationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGargari got bored to play with原创 2015-01-09 15:23:20 · 783 阅读 · 0 评论 -
【CODEFORCES】 B. Caisa and Pylons
B. Caisa and Pylonstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCaisa solved the problem with the sugar原创 2015-01-08 19:07:06 · 568 阅读 · 0 评论 -
【CODEFORCES】 C. Appleman and Toastman
C. Appleman and Toastmantime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman and Toastman play a game.原创 2015-01-08 14:59:55 · 554 阅读 · 0 评论 -
【CODEFORCES】C. Gargari and Bishops
C. Gargari and Bishopstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGargari is jealous that his friend C原创 2015-01-08 20:49:29 · 543 阅读 · 0 评论 -
【CODEFORCES】 D. Pashmak and Parmida's problem
D. Pashmak and Parmida's problemtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputParmida is a clever girl a原创 2015-01-07 18:40:38 · 619 阅读 · 0 评论