01 2022 档案

摘要:1996. 打乱字母 - 贪心、二分 1996. 打乱字母 题意 给定$n$个字符串,每个字符串的排序可以任意调整,求每个字符串在这种情况下的最大、最小字典序排名。 模型转换 首先我们把字典序当作一个数值,数值越小,排名越靠前。由于可以调整,每个字符串都对应了一个数值变化范围。值得注意的是,这个变化 阅读全文
posted @ 2022-01-23 11:06 tsrigo 阅读(48) 评论(0) 推荐(0)
摘要:2014. 岛 2014. 岛 模型抽象 给定数组$a[n]$,对于不同的整数$k$,求$a[n]$中连续的大于$k$的子序列的数量最大值(包括单个元素)。 在本题中,高度就相当于$a[n]$的值和$k$的值,每个$a[n]$中连续的大于$k$的子序列就是一个小岛。 模型转化 最直觉的办法就是从小到 阅读全文
posted @ 2022-01-23 11:04 tsrigo 阅读(38) 评论(0) 推荐(0)
摘要:1904. 奶牛慢跑 基本条件 跑道是单行道 N头奶牛起点不同,速度不完全相同 速度慢的或相等的一定追不上速度快的 速度快的一定可以追上速度慢的 速度快的追上速度慢的之后,二者速度变成速度慢的 思路一:单调栈 图解 做法 \(若v_n \le v_{n + 1},则组数 + 1\) \(若v_n \ 阅读全文
posted @ 2022-01-23 11:01 tsrigo 阅读(165) 评论(0) 推荐(0)
摘要:改编自:glanny https://www.bilibili.com/read/cv7966685 原出处:1小时Matlab速成教程 本文没有对原文进行删改,调整了部分排版,补充了课上的一些口头笔记。 md源文件 链接:https://pan.baidu.com/s/1YrDjPs3XoEzUL 阅读全文
posted @ 2022-01-18 21:00 tsrigo 阅读(485) 评论(0) 推荐(0)
摘要:Some time ago, an interesting discovery was made by archaeologists on the Aegean island of Kea. make a discovery (of...) = discover 为什么要用这个短语呢? 名词结构更正 阅读全文
posted @ 2022-01-07 13:57 tsrigo 阅读(490) 评论(0) 推荐(0)
摘要:Lesson 2 单词 equal raise(及物动词) 常用意思 举起 raise one's hand raise one' s voice raise one's hat to sb. (比喻,向某人问好) raise one's glass to sb.(比喻,敬酒) raise the 阅读全文
posted @ 2022-01-07 13:56 tsrigo 阅读(146) 评论(0) 推荐(0)
摘要:Lesson 3 - 单词 archaeologist 派生词:archaeology/ archeology 词根:"arch(a)" = ancient 同根词:archaic 古代的 archaic words archaic civilizations 词根:“(o)logy" = to s 阅读全文
posted @ 2022-01-07 13:56 tsrigo 阅读(355) 评论(0) 推荐(0)
摘要:单词 spot 斑点,点 a big red spot 大红斑 a spot on one's reputation 名誉的污点 a leopard won't change its spots 江山易改,本性难移 搭配 spot of sth, e.g. a spot of bother. You 阅读全文
posted @ 2022-01-07 13:55 tsrigo 阅读(367) 评论(0) 推荐(0)
摘要:Our vicar is always raising money for one cause or another, but he has never managed to get enough money to have the church clock repaired. be always 阅读全文
posted @ 2022-01-07 13:55 tsrigo 阅读(320) 评论(0) 推荐(0)
摘要:A puma at large at large 逃遁的, 没有被控制的 -- The thief is still at large Pumas are large, cat-like animals which are found in America. cat-like bear-like a 阅读全文
posted @ 2022-01-07 13:54 tsrigo 阅读(355) 评论(0) 推荐(0)