随笔分类 -  刷题----codeforces

摘要:Sagheer is walking in the street when he comes to an intersection of two roads. Each road can be represented as two parts where each part has 3 lanes 阅读全文
posted @ 2017-08-08 16:58 浅忆~ 阅读(104) 评论(0) 推荐(0)
摘要:Vladik had started reading a complicated book about algorithms containing n pages. To improve understanding of what is written, his friends advised hi 阅读全文
posted @ 2017-08-08 16:57 浅忆~ 阅读(153) 评论(0) 推荐(0)
摘要:At regular competition Vladik and Valera won a and b candies respectively. Vladik offered 1 his candy to Valera. After that Valera gave Vladik 2 his c 阅读全文
posted @ 2017-08-08 16:54 浅忆~ 阅读(109) 评论(0) 推荐(0)
摘要:D. Round Subset time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Round Subset time lim 阅读全文
posted @ 2017-08-08 16:52 浅忆~ 阅读(139) 评论(0) 推荐(0)
摘要:B. Flag of Berland time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Flag of Berland tim 阅读全文
posted @ 2017-08-08 16:46 浅忆~ 阅读(138) 评论(0) 推荐(0)
摘要:A. Text Volume A. Text Volume You are given a text of single-space separated words, consisting of small and capital Latin letters. Volume of the word 阅读全文
posted @ 2017-08-08 16:43 浅忆~ 阅读(173) 评论(0) 推荐(0)
摘要:Polycarp has just invented a new binary protocol for data transmission. He is encoding positive integer decimal number to binary string using followin 阅读全文
posted @ 2017-08-08 16:41 浅忆~ 阅读(309) 评论(0) 推荐(0)
摘要:Sometimes some words like "localization" or "internationalization" are so long that writing them many times in one text is quite tiresome. Let's consi 阅读全文
posted @ 2017-08-08 16:34 浅忆~ 阅读(417) 评论(0) 推荐(0)
摘要:One hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the 阅读全文
posted @ 2017-08-08 16:33 浅忆~ 阅读(300) 评论(0) 推荐(0)
摘要:Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decisio 阅读全文
posted @ 2017-08-08 16:30 浅忆~ 阅读(264) 评论(0) 推荐(0)
摘要:One day three best friends Petya, Vasya and Tonya decided to form a team and take part in programming contests. Participants are usually offered sever 阅读全文
posted @ 2017-08-08 16:29 浅忆~ 阅读(208) 评论(0) 推荐(0)
摘要:Petya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed to do the following: 阅读全文
posted @ 2017-08-08 16:27 浅忆~ 阅读(305) 评论(0) 推荐(0)
摘要:There are n stones on the table in a row, each of them can be red, green or blue. Count the minimum number of stones to take from the table so that an 阅读全文
posted @ 2017-08-08 16:25 浅忆~ 阅读(219) 评论(0) 推荐(0)
摘要:Little Petya loves presents. His mum bought him two strings of the same size for his birthday. The strings consist of uppercase and lowercase Latin le 阅读全文
posted @ 2017-08-08 16:23 浅忆~ 阅读(294) 评论(0) 推荐(0)
摘要:"Contestant who earns a score equal to or greater than the k-th place finisher's score will advance to the next round, as long as the contestant earns 阅读全文
posted @ 2017-08-08 16:21 浅忆~ 阅读(286) 评论(1) 推荐(0)
摘要:Xenia the beginner mathematician is a third year student at elementary school. She is now learning the addition operation. The teacher has written dow 阅读全文
posted @ 2017-08-08 16:16 浅忆~ 阅读(383) 评论(0) 推荐(0)
摘要:Petya loves football very much. One day, as he was watching a football match, he was writing the players' current positions on a piece of paper. To si 阅读全文
posted @ 2017-08-08 16:13 浅忆~ 阅读(352) 评论(0) 推荐(0)
摘要:You are given a rectangular board of M × N squares. Also you are given an unlimited number of standard domino pieces of 2 × 1 squares. You are allowed 阅读全文
posted @ 2017-08-08 16:10 浅忆~ 阅读(486) 评论(0) 推荐(0)
摘要:The classic programming language of Bitland is Bit++. This language is so peculiar and complicated. The language is that peculiar as it has exactly on 阅读全文
posted @ 2017-08-08 16:07 浅忆~ 阅读(289) 评论(0) 推荐(0)
摘要:time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per test 1 second time limit p 阅读全文
posted @ 2017-08-06 18:45 浅忆~ 阅读(178) 评论(0) 推荐(0)