上一页 1 2 3 4 5 6 7 8 9 10 ··· 26 下一页
摘要: 高等数学A(2) UOOC 第二章 错题 驻点就是使得函数一阶导为0的点 放一下潦草的笔记: 2.10 章测验题 偏导存在定义 可微与全增量 隐函数求导 解析:根据隐函数求导法则(全微分方程的性质) 未知 解析:条件极值(拉格朗日乘数法) 复合偏导 就是表达式代换而已。 2.8 极值最值 2.8.2 阅读全文
posted @ 2023-04-20 11:41 Sakana~ 阅读(50) 评论(0) 推荐(0) 编辑
摘要: my greedy is so poor 阅读全文
posted @ 2023-04-18 15:15 Sakana~ 阅读(25) 评论(0) 推荐(1) 编辑
摘要: 一道数位dp的题 无链接,朋友问的。 题目 定义“好数”为倍数为7且数字中不含4的数,编写程序在1秒内找出第n(1<n<1e12)个好数 代码 #include<bits/stdc++.h> #define ll long long using namespace std; const int N 阅读全文
posted @ 2023-04-18 11:19 Sakana~ 阅读(16) 评论(0) 推荐(0) 编辑
摘要: sad 阅读全文
posted @ 2023-04-17 00:08 Sakana~ 阅读(17) 评论(1) 推荐(0) 编辑
摘要: 省赛组队赛暨省赛积分赛1 来写总结。自闭了我就是垃圾,越训越烂www https://vjudge.net/contest/553737#overview 先把补了的题放上,剩下的明天看看能不能写。 D. Dasha and Very Difficult Problem 贪心构造,也是我唯一过的一题 阅读全文
posted @ 2023-04-16 00:40 Sakana~ 阅读(15) 评论(1) 推荐(0) 编辑
摘要: P8712 [蓝桥杯 2020 省 B1] 整数拼接 https://www.luogu.com.cn/problem/P8712 这题想多了一步。。不需要求逆元,因为最多9位数,所以直接 $O(10n)$ 记录乘积的模值 注意不能用map #include <bits/stdc++.h> #def 阅读全文
posted @ 2023-04-06 21:14 Sakana~ 阅读(45) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 155 https://atcoder.jp/contests/abc155 D - Pairs 这个二分好难写,疯狂WA,QAQ #include <bits/stdc++.h> #define ll long long using namespa 阅读全文
posted @ 2023-04-06 15:41 Sakana~ 阅读(23) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 156 https://atcoder.jp/contests/abc156 D - Bouquet 组合数学。 二项式定理。 注意取模之前一定要保证他是正数(有时候只加一次mod可能不够) #include <bits/stdc++.h> #def 阅读全文
posted @ 2023-04-06 15:36 Sakana~ 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 扑克牌 - 期望dp https://www.acwing.com/problem/content/220/ #include <bits/stdc++.h> using namespace std; const int N = 20, inf = 1e9; double f[N][N][N][N] 阅读全文
posted @ 2023-04-04 14:35 Sakana~ 阅读(12) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 154 https://atcoder.jp/contests/abc154 今天也比较简单。 E - Almost Everywhere Zero 贪心或者数位dp。 (其实我这个贪心应该就是在模拟数位dp) 贪心 #include <bits/s 阅读全文
posted @ 2023-04-03 14:27 Sakana~ 阅读(12) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 26 下一页