• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






冷松

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 8 下一页

2022年11月14日

一条大河
摘要: 的答复都是 阅读全文
posted @ 2022-11-14 11:17 冷松 阅读(37) 评论(0) 推荐(0)
 

2022年8月18日

vue
摘要: npm install 安装依赖 npm run dev npm install -g vue-cli或vue@cli,前面是安装vue3.0以前的版本的,后面是以后的版本的删除好像也得相应的命令删除 阅读全文
posted @ 2022-08-18 03:06 冷松 阅读(22) 评论(0) 推荐(0)
 

2022年3月24日

c++优先队列(priority_queue)用法详解
摘要: c++优先队列(priority_queue)用法详解 转自csdn的文章,仅作为学习笔记。原文链接:https://blog.csdn.net/weixin_36888577/article/details/79937886 普通的队列是一种先进先出的数据结构,元素在队列尾追加,而从队列头删除。 阅读全文
posted @ 2022-03-24 18:24 冷松 阅读(275) 评论(0) 推荐(0)
 

2021年4月2日

最长上升子序列
摘要: 最长上升子序列dp法 #include<bits/stdc++.h> #define M 100005 using namespace std; int a[M]={0,389,207,155,300,299,170,158,65}; int dp[M]; int main(){ int len = 阅读全文
posted @ 2021-04-02 20:06 冷松 阅读(81) 评论(0) 推荐(0)
 

2019年9月21日

1780 - 2019年我能变强组队训练赛第十八场
摘要: 题目描述 wls有一个钟表,当前钟表指向了某一个时间。 又有一些很重要的时刻,wls想要在钟表上复现这些时间(并不需要依次复现)。我们可以顺时针转动秒针,也可以逆时针转动秒针,分针和时针都会随着秒针按规则转动,wls想知道秒针至少转动多少角度可以使每个时刻至少都会被访问一次。 注意,时钟上的一种时针 阅读全文
posted @ 2019-09-21 17:29 冷松 阅读(236) 评论(0) 推荐(0)
 

2019年9月15日

Light bulbs (树状数组模板题)
摘要: There are N light bulbs indexed from 00 to N−1. Initially, all of them are off. A FLIP operation switches the state of a contiguous subset of bulbs. F 阅读全文
posted @ 2019-09-15 18:15 冷松 阅读(414) 评论(0) 推荐(0)
 

2019年9月7日

unordered_map的用法
摘要: 原博客:https://www.cnblogs.com/aaronzlq/p/3612629.html C++11引入了很多新特性,比如auto ,比如 for(type v : container)等。 数据结构方面最抢眼的应该是引入了unordered_set和unordered_map。比起普 阅读全文
posted @ 2019-09-07 19:51 冷松 阅读(1901) 评论(0) 推荐(0)
 

2019年9月5日

Happy Tree Friends(一个在树上搜索的题)
摘要: icpc上的题:12669 题解:我的题解是按照叶子链重小到大删叶子链,直到叶子链个数不大于k,每次删叶子链时记录删的节点权值和并且把答案减去这些删的权值和,最后还剩下的ans就是答案 不过这个题输入的是无向边,所以你得重新建树 问题 I: Happy Tree Friends 题目描述 There 阅读全文
posted @ 2019-09-05 11:04 冷松 阅读(521) 评论(0) 推荐(0)
 

2019年8月26日

快读及快输出
摘要: 来源:https://www.cnblogs.com/CharlieWade/p/11410770.html 阅读全文
posted @ 2019-08-26 10:24 冷松 阅读(205) 评论(0) 推荐(0)
 

2019年8月24日

权值线段树模板题
摘要: array Time Limit: 1500ms Memory Limit: 256M Description You are given an array . Initially, each element of the array is unique.Moreover, there are in 阅读全文
posted @ 2019-08-24 14:10 冷松 阅读(327) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 7 8 下一页