NuclearSoap
NuclearSoap
全部文章
题解
归档
标签
去牛客网
登录
/
注册
NuclearSoap的博客
全部文章
/ 题解
(共1篇)
题解 | #栈和排序#
分治法: 找到a中最大值push进ans数组 递归最大值右边的子数组 push最大值左边的子数组 #include <bits/stdc++.h> using namespace std; #define int long long int n; vector<int> ...
C++
分治
2025-08-12
3
16