本文分类:news发布日期:2025/11/4 18:30:42
打赏

相关文章

leetcode274. H 指数

leetcode274. H 指数274. H 指数自己写的先排序后反向遍历class Solution {public int hIndex(int[] citations) {int n = citations.length;Arrays.sort(citations);if(citations[0] >= n) return n;if(citations…

Pinely Round 5 (Div.1 + Div.2)

噢噢噢噢噢噢噢噢哦哦啊啊啊啊啊啊啊啊啊啊A - E 题解。 A 考虑 \(R\) 一定是越小越好,这样可以尽可能让 Div.2 也 Rated,于是每次 Rated Round 都有 \(R \gets \max(0, R - D)\)。模拟即可。 B 神人 b 题。YES 只有…

手机版浏览

扫一扫体验

微信公众账号

微信扫一扫加关注

返回
顶部