vscode 连接好wsl
使用Open in External App 一个五星好评的插件Open in External App则可以在vscode中用typora打开md文件,不仅如此,还有设定其他应用打开相应的文件,比如chrome打开html。插件食用方法也比较简单,安装后&#…
这题暴力用前缀和搜会超时,有两种解法,二分查找和滑动窗口
二分查找参考了柳神:
#include<bits/stdc.h>
using namespace std;
int n,m;
vector<int> ans;
int main(){scanf("%d%d",&n,&m);vector<int&…