![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CF
Zero_979
计算机科学与技术硕士在读
展开
-
954A. Diagonal Walking C++
题目地址:http://codeforces.com/contest/954/problem/A题目:Mikhail walks on a 2D plane. He can go either up or right. You are given a sequence of Mikhail's moves. He thinks that this sequence is too long and ...原创 2018-03-24 21:27:42 · 383 阅读 · 0 评论 -
2015-2016 ACM-ICPC Triangle
题目地址:http://codeforces.com/gym/100819/attachments题目:Determine if it is possible to produce two triangles of given side lengths, by cutting some rectanglewith a single line segment, and freely rotating...原创 2018-06-19 21:09:41 · 301 阅读 · 0 评论 -
Codeforces1009A. Game Shopping C++
题目地址:http://codeforces.com/problemset/problem/1009/A题目:Maxim wants to buy some games at the local game shop. There are nn games in the shop, the ii-th game costs cici.Maxim has a wallet which ca...原创 2018-07-23 19:05:37 · 293 阅读 · 0 评论 -
Codeforces 994B. Knights of a Polygonal Table C++
题目地址:http://codeforces.com/problemset/problem/994/B题目:Unlike Knights of a Round Table, Knights of a Polygonal Table deprived of nobility and happy to kill each other. But each knight has some powe...原创 2018-07-24 12:20:09 · 330 阅读 · 0 评论 -
Codeforces Round #500 (Div. 2) A. Piles With Stones
题目地址:http://codeforces.com/contest/1013/problem/A题目:There is a beautiful garden of stones in Innopolis.Its most beautiful place is the nn piles with stones numbered from 11 to nn.EJOI particip...原创 2018-07-30 18:53:50 · 284 阅读 · 0 评论 -
Codeforces Round #500 (Div. 2) B. And
题目地址:http://codeforces.com/contest/1013/problem/B题目:There is an array with n elements a1, a2, ..., an and the number x.In one operation you can select some i (1 ≤ i ≤ n) and replace element ai w...原创 2018-08-02 09:24:30 · 357 阅读 · 0 评论 -
Codeforces Round #500 (Div. 2) C. Photo of The Sky
题目地址:http://codeforces.com/problemset/problem/1013/C题目:Pavel made a photo of his favourite stars in the sky. His camera takes a photo of all points of the sky that belong to some rectangle with s...原创 2018-08-02 10:40:46 · 246 阅读 · 0 评论 -
Codeforces Round #501 (Div. 3)A. Points in Segments
题目地址:http://codeforces.com/problemset/problem/1015/A题目:You are given a set of nn segments on the axis OxOx, each segment has integer endpoints between 11 and mm inclusive. Segments may intersect, ...原创 2018-08-07 15:51:48 · 243 阅读 · 0 评论 -
CodeForces - 208A Dubstep【正则表达式】
题目:Vasya works as a DJ in the best Berland nightclub, and he often uses dubstep music in his performance. Recently, he has decided to take a couple of old songs and make dubstep remixes from them....原创 2018-08-12 14:56:03 · 443 阅读 · 0 评论 -
CF1029 A. Many Equal Substrings
题目地址:http://codeforces.com/problemset/problem/1029/A题目:You are given a string tt consisting of nn lowercase Latin letters and an integer number kk.Let's define a substring of some string ss with...原创 2018-08-29 21:25:21 · 299 阅读 · 0 评论 -
Codeforces1029C. Maximal Intersection
题目地址:http://codeforces.com/problemset/problem/1029/C题目:You are given nn segments on a number line; each endpoint of every segment has integer coordinates. Some segments can degenerate to points. S...原创 2018-09-08 20:23:27 · 197 阅读 · 0 评论 -
2015-2016 ACM-ICPC Grid
题目地址:http://codeforces.com/gym/100819/attachments题目:You are on the top left square of an m × n grid, where each square on the grid has a digit on it.From a given square that has digit k on it, a move ...原创 2018-06-19 21:06:12 · 338 阅读 · 0 评论 -
2015-2016 ACM-ICPC Excellence
题目地址:http://codeforces.com/gym/100819/attachments题目:The World Coding Federation is setting up a huge online programming tournament of teams comprisedof pairs of programmers. Judge David is in charge o...原创 2018-06-19 21:01:41 · 155 阅读 · 0 评论 -
2015-2016 ACM-ICPC Class Time
题目地址:http://codeforces.com/gym/100819/attachments题目:It’s the first day of class! Tom is teaching class and first has to take attendance to see who is inclass. He needs to call the students’ names in a...原创 2018-06-19 20:54:09 · 145 阅读 · 0 评论 -
964A. Splits
题目地址:http://codeforces.com/problemset/problem/964/A题目:Let's define a split of nn as a nonincreasing sequence of positive integers, the sum of which is nn.For example, the following sequences are split...原创 2018-04-23 19:51:28 · 209 阅读 · 0 评论 -
964B. Messages
题目地址:http://codeforces.com/problemset/problem/964/B题目:There are n incoming messages for Vasya. The i-th message is going to be received after ti minutes. Each message has a cost, which equals to A ini...原创 2018-04-23 21:20:37 · 164 阅读 · 0 评论 -
#484(div.2) B. Bus of Characters
题目地址:http://codeforces.com/problemset/problem/982/B题目:In the Bus of Characters there are nn rows of seat, each having 22 seats. The width of both seats in the ii-th row is wiwi centimeters. All intege...原创 2018-05-20 20:58:39 · 513 阅读 · 0 评论 -
#482(div.2) A. Pizza, Pizza, Pizza!!!
题目地址:http://codeforces.com/contest/979/problem/A题目:Katie, Kuro and Shiro are best friends. They have known each other since kindergarten. That's why they often share everything with each other and wor...原创 2018-05-15 21:42:49 · 489 阅读 · 0 评论 -
#482(div.2) B. Treasure Hunt
题目地址:http://codeforces.com/contest/979/problem/B题目:After the big birthday party, Katie still wanted Shiro to have some more fun. Later, she came up with a game called treasure hunt. Of course, she inv...原创 2018-05-15 21:59:32 · 541 阅读 · 0 评论 -
#483(div.2) A. Game
题目地址:http://codeforces.com/contest/984/problem/A题目:Two players play a game.Initially there are nn integers a1,a2,…,ana1,a2,…,an written on the board. Each turn a player selects one number and erases i...原创 2018-05-16 13:25:08 · 256 阅读 · 0 评论 -
#483(div.2) B. Minesweeper
题目地址:http://codeforces.com/contest/984/problem/B题目:One day Alex decided to remember childhood when computers were not too powerful and lots of people played only default games. Alex enjoyed playing Mi...原创 2018-05-16 13:29:11 · 468 阅读 · 0 评论 -
988A. Diverse Team C++
题目地址:http://codeforces.com/problemset/problem/988/A题目:There are nn students in a school class, the rating of the ii-th student on Codehorses is aiai. You have to form a team consisting of kk students ...原创 2018-06-04 20:37:50 · 386 阅读 · 0 评论 -
2015-2016 ACM-ICPC Blur
题目地址:http://codeforces.com/gym/100819/attachments题目:You have a black and white image that is w pixels wide and h pixels high. You decide to representthis image with one number per pixel: black is 0, a...原创 2018-06-19 20:38:58 · 231 阅读 · 0 评论 -
2015-2016 ACM-ICPC Complexity
题目地址:http://codeforces.com/gym/100819/attachments题目:Define the complexity of a string to be the number of distinct letters in it. For example, the stringstring has complexity 6 and the string letter h...原创 2018-06-19 20:45:55 · 214 阅读 · 0 评论 -
1029 B. Creating the Contest C++
题目地址:http://codeforces.com/problemset/problem/1029/B题目:You are given a problemset consisting of nn problems. The difficulty of the ii-th problem is aiai. It is guaranteed that all difficulties are...原创 2018-09-03 18:52:56 · 267 阅读 · 0 评论