自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Codeforces 1187D:Subarray Sorting

Subarray SortingYou are given an array a1,a2,…,an and an array b1,b2,…,bn.For one operation you can sort in non-decreasing order any subarray a[l…r] of the array aa.For example, if a=[4,2,2,1,3,1]...

2019-07-22 15:05:05 287

原创 Codeforces :1187C Vasya And Array

**Vasya And Array**Vasya has an array a1,a2,…,an.You don’t know this array, but he told you mm facts about this array. The ii-th fact is a triple of numbers titi, lili and riri (0≤ti≤1,1≤li<ri≤n)...

2019-07-13 10:40:33 327

原创 codeforces:1189Candies!

Candies!Consider a sequence of digits of length 2k2k [a1,a2,…,a2k]. We perform the following operation with it: replace pairs (a2i+1,a2i+2) with (a2i+1+a2i+2)mod10 for 0≤i<2k−1. For every ii where...

2019-07-11 10:36:11 361

原创 Count Pairs

Codeforces:1189B Count PairsYou are given a prime number p, n integers a1,a2,…,an, and an integer k.Find the number of pairs of indexes (i,j) (1≤i<j≤n) for which (ai+aj)(ai^ 2 + aj^ 2)≡k mod p.I...

2019-07-11 10:20:02 703

空空如也

空空如也

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

TA关注的人

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