自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 自用备忘录2———树状数组

lowbit(x)计算的结果是2^k,其中k为x在二进制表示下末尾0的个数int lowbit(int x){ return x&(-x)}树状数组模板:#include<stdio.h>#include<string.h>int a[10005];int c[10005];int n;int lowbit(int x){ return x&(-x);}int getSum(int x){ int ans =

2022-04-28 21:25:51 274

原创 自用备忘录

ziyong

2022-04-24 17:00:28 266

原创 J - 山峰和山谷 Ridges and Valleys

J - 山峰和山谷 Ridges and Valleys

2022-02-22 19:33:19 292

原创 A - Networking

A - Networking POJ - 1287

2022-02-19 11:12:37 109

原创 D - Dijkstra?

D - Dijkstra?

2022-02-19 11:11:44 145 1

原创 B - The Number of Imposters

B - The Number of Imposters

2022-02-19 11:10:24 140

原创 A - pSort

A - pSort

2022-02-19 11:09:13 201

原创 D - Monsters And Spells

D - Monsters And Spells CodeForces - 1626C

2022-02-12 11:30:36 232

原创 C - Saving the City

C - Saving the City

2022-02-12 11:29:09 484

原创 A - QAQ

A - QAQ

2022-02-12 11:27:46 123

原创 G - Children‘s Game

G - Children's Game

2022-02-12 11:26:20 78

原创 E - Partitioning by Palindromes

E - Partitioning by Palindromes

2022-02-12 11:24:18 118

原创 D - Dropping water balloons

D - Dropping water balloons

2022-02-12 11:21:33 87

原创 C - Jin Ge Jin Qu hao

C - Jin Ge Jin Qu hao

2022-02-12 11:19:31 118

原创 B - Watering Grass

B - Watering Grass

2022-02-12 11:16:27 94

原创 A - Smallest Sub-Array

A - Smallest Sub-Array

2022-02-12 11:13:12 407

原创 M-维护序列

维护序列

2022-01-29 17:04:26 531

原创 Ultra-QuickSort

Ultra-QuickSort

2022-01-27 11:40:35 884

原创 A Simple Problem with Integers

A Simple Problem with Integers

2022-01-27 11:39:02 149

原创 Can you answer these queries III

Can you answer these queries III

2022-01-27 11:37:29 96

原创 Can you answer these queries I

Can you answer these queries I

2022-01-27 11:36:04 575

空空如也

空空如也

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

TA关注的人

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