比赛
Allen_0526
一个菜的不能再菜的研究僧。。。
展开
-
第二场训练赛
Masha wants to open her own bakery and bake muffins in one of the n cities numbered from 1 to n. There are m bidirectional roads, each of whose connects some pair of cities. To bake muffins in her...原创 2018-09-25 19:47:19 · 394 阅读 · 0 评论 -
第八周组队赛
K Video Posts 此题链接 题意:就是看能否均分,是的话就Yes,然后输出可以由几个数组成,不是就No #include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath&a原创 2018-10-26 19:01:20 · 130 阅读 · 0 评论 -
组队赛(第七周)
ABDE为水题,CF为dp A - Nth Largest Value 4552 Nth Largest Value For this problem, you will write a program that prints the N-th largest value in a fixed sized array of integers. To make things simple, N wi...原创 2018-10-16 21:15:37 · 159 阅读 · 0 评论 -
国庆第七场训练赛
E - Vitya in the Countryside CodeForces 719A Description Every summer Vitya comes to visit his grandmother in the countryside. This summer, he got a huge wart. Every grandma knows that one should trea...原创 2018-10-09 20:50:56 · 251 阅读 · 1 评论 -
国庆第四场训练赛
A - A Description Little C loves number «3» very much. He loves all things about it. Now he has a positive integer $nnn$. He wants to split $nnn$ into $333$ positive integers $a,b,ca,b,ca,b,c$, such t...原创 2018-10-16 13:41:07 · 185 阅读 · 0 评论 -
国庆第三场训练赛
A - A CodeForces - 1042A There are n benches in the Berland Central park. It is known that ai people are currently sitting on the i-th bench. Another m people are coming to the park and each of them i...原创 2018-10-16 12:57:52 · 258 阅读 · 0 评论 -
国庆第二场训练赛
A You are given a string s of length n, which consists only of the first k letters of the Latin alphabet. All letters in string s are uppercase. A subsequence of string s is a string that can be deriv...原创 2018-10-16 12:22:09 · 263 阅读 · 0 评论 -
国庆第六场训练赛
Description Today an outstanding event is going to happen in the forest — hedgehog Filya will come to his old fried Sonya! Sonya is an owl and she sleeps during the day and stay awake from minute l1 t...原创 2018-10-08 21:01:39 · 231 阅读 · 0 评论 -
国庆第五场训练赛
A. Phone Numbers Description Let’s call a string a phone number if it has length 11 and fits the pattern “8xxxxxxxxxx”, where each “x” is replaced by a digit. For example, “80123456789” and “800000000...原创 2018-10-06 17:25:20 · 388 阅读 · 0 评论 -
国庆第一场训练赛
A - Turn the Rectangles There are nn rectangles in a row. You can either turn each rectangle by 9090 degrees or leave it as it is. If you turn a rectangle, its width will be height, and its height...原创 2018-10-05 11:24:54 · 199 阅读 · 0 评论 -
第十三周比赛
6822 Black and white stones Shagga and Dolf like to play a game with stones, each of which is either black or white. At the beginning of the game, Dolf arranges all the stones in a single line from le...原创 2018-11-27 19:52:59 · 184 阅读 · 0 评论