当前位置:网站首页>日志1111
日志1111
2022-06-13 10:57:00 【重生之我会拧瓶盖】
1.n堆石子,一次挑选不同的两堆各拿一个,能否拿完,拿完的方案是啥,利用优先队列大根堆,每次先消减大的。 n堆石子每次拿一个,连续的两周不能拿同一堆,问能拿几周,答案与最大值有关
2. 例题 A<B ,A,B位数相同,要调整一位使得A>B,可以用字符串储存这样方便找数字的各位。仅仅调整两数的最高位就行,只有两种特殊情况不能调整。
3. 一张图,若每条边能走两次及以上则可以走过所有边,每条边只能走一次,求无向图上的一条路的最大值,先BFS找到最长路径的起点,然后再进行一遍BFS。
4. DFS最多递归1e5否则会爆栈,爆栈可用模拟栈。
5. 两个1e18大数相乘想到计组转换为二进制加法。
边栏推荐
- DNS协议分析
- Navicat connection MySQL in Pagoda
- of_ find_ compatible_ Node find all nodes
- Actual combat analysis of malicious code lab05-01
- Mysql database conceptual design using E-R model
- 宝塔访问从IP改为域名
- QTcpServer. QTcpSocket. QUdpSocket之间的区别
- flutter简单优秀的开源dialog使用free_dialog
- 2022甘肃省安全员C证上岗证题目及在线模拟考试
- Wait for someone with "source" | openharmony growth plan student challenge registration to start
猜你喜欢
Do you agree that the salary of hardware engineers is falsely high?
终于,月入 20000 !!
数据库学习笔记(第十五章)
Record several interesting XSS vulnerability discoveries
Experience of electric competition - program-controlled wind pendulum
Solution to qt5.12 unable to input Chinese (unable to switch Chinese input method) in deepin system
元宇宙土地:是什么让数字房地产变得有价值
网传互联网公司加班表,排名第一的没有悬念!
Vivo large scale kubernetes cluster automation operation and maintenance practice
Folder data synchronization tool sync folders Pro
随机推荐
Ubuntu installs MySQL compressed package for future reference
deepin系统中Qt5.12无法输入中文(无法切换中文输入法)解决办法
winform 解决黑屏 频繁刷新
Database learning notes (Chapter 15)
2022煤矿探放水特种作业证考试题库模拟考试平台操作
SSM integration preliminary details
View the default MySQL password in the pagoda
Redis related
电解电容、钽电容、普通电容
网传互联网公司加班表,排名第一的没有悬念!
数据库学习笔记(第十六章)
作为一个测试人员,这些基础知识必不可少
How to optimize MySQL?
The first laravel workflow engine released the official version of v1.0
Develop a basic module with low code
记几次略有意思的 XSS 漏洞发现
《气候韧性和可持续性》| 新研究表明超级飓风未来几年会对南亚产生更大破坏
[dynamic planning] beginner level
[tool chain series] Notepad++
Actual combat simulation │ real time error alarm of enterprise wechat robot