会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
拾月凄辰
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
59
60
61
62
63
64
65
66
67
···
76
下一页
2019年7月3日
Least Common Multiple (最小公倍数,先除再乘)
摘要: 思路: 求第一个和第二个元素的最小公倍数,然后拿求得的最小公倍数和第三个元素求最小公倍数,继续下去,直到没有元素 注意:通过最大公约数求最小公倍数的时候,先除再乘,避免溢出 1 #include <iostream> 2 #include <cmath> 3 #include <cstdio> 4
阅读全文
posted @ 2019-07-03 10:27 拾月凄辰
阅读(375)
评论(0)
推荐(0)
2019年7月2日
Watering Grass (贪心,最小覆盖)
摘要: 参考: https://blog.csdn.net/shuangde800/article/details/7828675 https://www.cnblogs.com/haoabcd2010/p/6171794.html?utm_source=itdadao&utm_medium=referra
阅读全文
posted @ 2019-07-02 14:33 拾月凄辰
阅读(159)
评论(0)
推荐(0)
Minimal coverage (贪心,最小覆盖)
摘要: 题目大意:先确定一个M, 然后输入多组线段的左端和右端的端点坐标,然后让你求出来在所给的线段中能够 把[0, M] 区域完全覆盖完的最少需要的线段数,并输出这些线段的左右端点坐标。 思路分析: 线段区间的起点是0,那么找出所有区间起点小于0中的最合适的区间。 因为需要尽量少的区间,所以选择右端点更大
阅读全文
posted @ 2019-07-02 13:31 拾月凄辰
阅读(370)
评论(0)
推荐(0)
2019年7月1日
今年暑假不AC (贪心)
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 8 using namespace std; 9 10 struct node 11 { 12 int start; // 开始时间 13 int end; // 结束时间 14 }a[101]; 15...
阅读全文
posted @ 2019-07-01 11:10 拾月凄辰
阅读(134)
评论(0)
推荐(0)
FatMouse' Trade (贪心)
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 8 using namespace std; 9 10 struct node 11 { 12 double J; // JavaBean 13 double F; // Food 1...
阅读全文
posted @ 2019-07-01 09:47 拾月凄辰
阅读(204)
评论(0)
推荐(0)
2019年6月29日
最长公共子序列LCS
摘要: 1 #include <iostream> 2 #include <stdio.h> 3 #include <algorithm> 4 5 using namespace std; 6 7 int dp[105][105]; 8 9 int main() 10 { 11 string s1, s2;
阅读全文
posted @ 2019-06-29 11:58 拾月凄辰
阅读(109)
评论(0)
推荐(0)
合唱队形 ( 双向LIS )
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int list[105]; 8 int dp1[105]; 9 int dp2[105]; 10 11 12 int main() 13 { 14 int n; 15 while(cin >> n) 16 ...
阅读全文
posted @ 2019-06-29 08:46 拾月凄辰
阅读(256)
评论(0)
推荐(0)
2019年6月28日
拦截导弹 (最长上升子序列LIS)
摘要:
阅读全文
posted @ 2019-06-28 13:20 拾月凄辰
阅读(141)
评论(0)
推荐(0)
错排公式的理解
摘要: https://blog.csdn.net/bengshakalakaka/article/details/83420150
阅读全文
posted @ 2019-06-28 10:06 拾月凄辰
阅读(143)
评论(0)
推荐(0)
2019年6月5日
电脑上做的ppt拿到别的电脑或手机上播放的时候字体错位的解决方法
摘要: 原因:字体不对!!! 比如你英文用的Calibri字体,但是手机的wps或者别的电脑上的低版本的office没有这个字体,所以就会强制转换成那里有的字体(一般是黑体),此时字体就会错位!! 不要以为那个字体看似很通用,其实低版本的office或者手机上的wps就是没这种字体!!!(比如等线这个字体低
阅读全文
posted @ 2019-06-05 20:50 拾月凄辰
阅读(5111)
评论(0)
推荐(0)
上一页
1
···
59
60
61
62
63
64
65
66
67
···
76
下一页
公告