自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 CCPC秦皇岛站补题

A、Greeting from Qinhuangdao组合数签到题//CCPC QHD 7-A Greeting From Qinhuangdao #include<bits/stdc++.h>using namespace std;int gcd(int x,int y){ return (!y) ? x:gcd(y,x%y);}int main(){ int T,t; cin>>T; t=T; while(T--) { int r,b,sum;

2020-10-29 00:09:36 136

原创 Four Operations

Little Ruins is a studious boy, recently he learned the four operations!Now he want to use four operations to generate a number, he takes a string which only contains digits ‘1’ - ‘9’, and split it into 5 intervals and add the four operations ‘+’, ‘-‘, ‘*

2020-10-11 12:42:42 141

原创 Sequence Swapping(二维dp)

BaoBao has just found a strange sequence {<, >, <, >, , <, >} of length in his pocket. As you can see, each element <, > in the sequence is an ordered pair, where the first element in the pair is the left parenthesis ‘(’ or the ri

2020-10-08 20:54:30 166

原创 Domination(概率dp,三维dp)

Edward is the headmaster of Marjar University. He is enthusiastic about chess and often plays chess with his friends. What’s more, he bought a large decorative chessboard withN rows andM columns. Every day after work, Edward will place a chess piece on a r

2020-10-04 21:07:00 120

原创 归并排序(mergeSort)

排序算法研究之归并排序(mergeSort)1.算法思想例如,对于这样的一个序列进行排序,将其不断分成原来的一半,分到一定细度时,每一个部分只剩下一个元素了,这时我们就可以开始归并了归并到上一个层级排序然后继续归并,不断归并到更高的层级直到最后归并结束2.算法核心在归并过程中,很容易的可以看出归并排序是一层层的去排序,所以它的算法核心是递归。3.优缺点优点:时间复杂度比较低缺点:需要辅助数组,辅存较大,数据较大时不建议使用4.代码实现函数部分template<typena

2020-08-04 19:26:57 172

原创 暑期git初步学习

git的部分简单指令清屏ctrl+l输入信息git config user.name ##git config user.email ##

2020-08-04 19:24:55 133

空空如也

空空如也

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

TA关注的人

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