GoCalf Calf 的自留地 · 昙花一现

3251. Find the Count of Monotonic Pairs II

跟 3250. Find the Count of Monotonic Pairs I 一模一样,只不过 nums[i] 的上限从 50 增加到 1000。

https://leetcode.cn/problems/find-the-count-of-monotonic-pairs-ii/

直接用上次的代码似乎问题不大。

评论需要 JavaScript。