自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 B. Box Fitting

Codeforces Round #711 (Div. 2) BB. Box FittingYou are given n rectangles, each of height 1. Each rectangle’s width is a power of 2 (i. e. it can be represented as 2x for some non-negative integer x).You are also given a two-dimensional box of width W. N

2021-04-02 19:12:08 225

原创 C. Tourist Problem

Codeforces Round #198 (Div. 2) CC. Tourist ProblemIahub is a big fan of tourists. He wants to become a tourist himself, so he planned a trip. There are n destinations on a straight road that Iahub wants to visit. Iahub starts the excursion from kilometer

2021-03-31 20:03:28 164

原创 B. Partial Replacement

Codeforces Round #710 (Div. 3) BB. Partial ReplacementYou are given a number k and a string s of length n, consisting of the characters ‘.’ and ’ * '. You want to replace some of the ‘*’ characters with ‘x’ characters so that the following conditions are

2021-03-27 10:59:48 431

原创 B. Nezzar and Lucky Number

Codeforces Round #698 (Div. 2) BB. Nezzar and Lucky NumberNezzar’s favorite digit among 1,…,9 is d. He calls a positive integer lucky if d occurs at least once in its decimal representation.Given q integers a1,a2,…,aq, for each 1≤i≤q Nezzar would like t

2021-03-27 09:35:20 166

原创 C1. k-LCM (easy version)

Codeforces Round #708 (Div. 2) C1C1. k-LCM (easy version)It is the easy version of the problem. The only difference is that in this version k=3.You are given a positive integer n. Find k positive integers a1,a2,…,ak, such that:a1+a2+…+ak=nLCM(a1,a2,…,

2021-03-20 09:44:04 523 2

原创 B. Napoleon Cake

Codeforces Round #707 (Div. 2) BB. Napoleon CakeThis week Arkady wanted to cook some pancakes (to follow ancient traditions) and make a problem about that. But then he remembered that one can’t make a problem about stacking pancakes without working at a

2021-03-17 19:11:28 194

原创 A. Alexey and Train

Codeforces Round #707 AA. Alexey and TrainAlexey is travelling on a train. Unfortunately, due to the bad weather, the train moves slower that it should!Alexey took the train at the railroad terminal. Let’s say that the train starts from the terminal at

2021-03-15 19:34:46 184

原创 B. Max and Mex

Codeforces Round #706 (Div. 2) BB. Max and MexYou are given a multiset S initially consisting of n distinct non-negative integers. A multiset is a set, that can contain some elements multiple times.You will perform the following operation k times:Add t

2021-03-13 19:39:36 321

原创 A. ABC String

Educational Codeforces Round 105 (Rated for Div. 2)A. ABC StringYou are given a string a, consisting of n characters, n is even. For each i from 1 to n ai is one of ‘A’, ‘B’ or ‘C’.A bracket sequence is a string containing only characters “(” and “)”. A

2021-03-03 20:10:33 225 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除