自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 JavaScript基础——this指向

当一段 JavaScript 代码在运行的时候,它实际上是运行在执行上下文中。

2024-03-04 08:44:18 1125 1

原创 Echarts基础学习笔记

ECharts是一个使用 JavaScript 实现的开源可视化库,提供了丰富的图表类型和交互能力,使用户能够通过简单的配置生成各种各样的图表。还是比较详细的,但是掌握好ECharts自定义样式还是挺复杂的。

2024-01-08 08:44:38 497

原创 在 Vue 中使用 jQuery-UI 的踩坑记

在使用Autocomplete的组件时,Autocomplete 的下拉列表一直没有显示,我一直以为是组件哪里使用的不对。最后发现是被leaflet上地图的元素遮挡了。地图的 z-index 比 Autocomplete 的下拉列表的 z-index 大导致下拉列表被盖住了。在使用leaflet开发的时候,有一个需求要在图层的popup上编辑信息,需要一个AutoComplete的组件。不得已引入了jquery-ui中的AutoComplete组件来完成,在vue中使用jquery-ui过程中踩了不少坑。

2023-11-19 21:52:09 301 2

原创 集训总结

在这次集训中,我见识到了真正的比赛是什么样子的,也知道了自己和别人的差距有多大。同时,也学到了很多知识点和技巧。但是,由于种种原因,我总是在划水,没有好好补题,补了题也懒得写博客,总是不能进入状态。不过,接下来的日子,我要好好努力,争取把题补回来。...

2020-08-28 11:47:46 100

原创 2020杭电多校第二场

1001.Total Eclipse题意:给出各个城市亮度和连通情况,可以对连在一起的城市的亮度减一或者对一个城市亮度减一,求使所有城市亮度为0的最少操作数。思路:假设每个城市都是孤立的,这时操作数就是亮度总和。将城市按亮度大小排序,遍历每个城市的相邻城市,如果相邻城市已经遍历过且不在连通块上,操作数减去其亮度同时将其加入连通块。知识点:并查集#include<cstdio>#include<vector>#include<algorithm>#includ

2020-08-05 15:55:43 122

原创 bnuz 训练B 、C 、D

B - Ternary String CodeForces - 1354BYou are given a string s such that each its character is either 1, 2, or 3. You have to choose the shortest contiguous substring of s such that it contains each of these three characters at least once.A contiguous sub

2020-05-27 17:49:36 216

原创 bnuz训练B、C、E

B - Wrath CodeForces - 892BHands that shed innocent blood!There are n guilty people in a line, the i-th of them holds a claw with length L i. The bell rings and every person kills some of people in ...

2020-04-22 22:45:24 224

原创 bnuz 训练 B C D E

B - Tiling Challenge CodeForces - 1150BOne day Alice was cleaning up her basement when she noticed something very curious: an infinite set of wooden pieces! Each piece was made of five square tiles, ...

2020-03-25 16:14:35 250

原创 BFS 练习C

C Knights of NiBessie is in Camelot and has encountered a sticky situation: she needs to pass through the forest that is guarded by the Knights of Ni. In order to pass through safely, the Knights hav...

2020-03-19 14:49:57 239

原创 bunz训练赛 A B E

AYou’re given a row with n chairs. We call a seating of people “maximal” if the two following conditions hold:There are no neighbors adjacent to anyone seated.It’s impossible to seat one more perso...

2020-03-16 23:04:58 139

原创 bnuz训练B D E

BAfter the big birthday party, Katie still wanted Shiro to have some more fun. Later, she came up with a game called treasure hunt. Of course, she invited her best friends Kuro and Shiro to play with...

2020-03-13 18:40:12 472

原创 BNUZ 练习E题

E - Beautiful Paintings CodeForces - 651BThere are n pictures delivered for the new exhibition. The i-th painting has beauty ai. We know that a visitor becomes happy every time he passes from a paint...

2020-03-01 18:49:17 139

空空如也

空空如也

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

TA关注的人

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