首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
russian专题
[leetcode] 354. Russian Doll Envelopes
Russian Doll Envelopes 描述 You have a number of envelopes with widths and heights given as a pair of integers (w, h). One envelope can fit into another if and only if both the width and height of on
阅读更多...
***Leetcode 354. Russian Doll Envelopes
https://leetcode.com/problems/russian-doll-envelopes/description/ LIS就能过掉 然后暴力O(n^2)的写法 bool cmp_small(pair<int, int> a, pair<int, int>b) {if (a.first == b.first) return a.second > b.second;else
阅读更多...
2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) D 二分
2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) D 考虑一条长长的走廊,它可以被分成大小为 1×1 的 n 个正方形单元格。这些单元格从左到右依次编号为 1 至 n 。 走廊上有两个人,一个小流氓和一个保安。一开始,流氓在 ath单元,保安在 bth
阅读更多...
Russian Study
俄语学习 基础知识 网络推荐课程 https://learnrussianwords.com/calendar/ Learn Russian as Russians speak it! - Very Much Russian 俄语入门学习教程合集:_哔哩哔哩_bilibili https://learnrussianwords.com/ 发音部位表
阅读更多...