会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Smallbasic
博客园
首页
新随笔
联系
订阅
管理
2021年10月20日
三分的更优?写法
摘要: 容易发现单峰函数取到极值时导数为0,而导数又是单调的,所以可以直接在导数上二分。 洛谷板子: #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> using namespace std; #def
阅读全文
posted @ 2021-10-20 08:50 Smallbasic
阅读(53)
评论(0)
推荐(0)
公告