自定义博客皮肤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)
  • 收藏
  • 关注

原创 【ZOJ-4028】 LIS(2018浙江省赛-E题)

InputThere are multiple test cases. The first line of the input contains an integer , indicating the number of test cases. For each test case:The first line contains an integer n (1<=n<=10^5), i...

2018-04-30 09:00:51 894

原创 【ZOJ-4027】 Sequence Swapping(2018浙江省赛-D题)

BaoBao has just found a strange sequence {<s1,v1>, <s2,v2>, ... <sn,vn>} of length n in his pocket. As you can see, each element <si,vi> in the sequence is an ordered pair, whe...

2018-04-29 21:12:17 2312 3

原创 【中石油OJ-5151】 Jumping Haybales

题目描述Farmer John's cows have grown lazy and he would like to get them back in shape! He has decided that the best way to do this is by setting up haybales in the field and having the cows jump from the...

2018-04-29 10:48:34 306

原创 【中石油OJ-5623】 Division into Two

题目描述There is a set consisting of N distinct integers. The i-th smallest element in this set is Si. We want to divide this set into two sets, X and Y, such that:The absolute difference of any two disti...

2018-04-27 12:27:15 249

原创 【中石油OJ-5140】 Escape Room

题目描述As you know, escape rooms became very popular since they allow you to play the role of a video game hero. One such room has the following quiz. You know that the locker password is a permutation o...

2018-04-27 12:16:18 339

原创 【Joy OI-1266】 费解的开关

emmmmmm......萌新第一次写这种东西,先膜拜一下各方大佬描述:      你玩过“拉灯”游戏吗?25盏灯排成一个5x5的方形。每一个灯都有一个开关,游戏者可以改变它的状态。每一步,游戏者可以改变某一个灯的状态。游戏者改变一个灯的状态会产生连锁反应:和这个灯上下左右相邻的灯也要相应地改变其状态。我们用数字“1”表示一盏开着的灯,用数字“0”表示关着的灯。下面这种状态101110110110...

2018-04-27 12:03:15 502

空空如也

空空如也

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

TA关注的人

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