摘要:
#include <iostream>#include <algorithm>#include <cstring>using namespace std;const int N=10010;int n;struct Range{ int l,r; bool operator<(const Range 阅读全文
posted @ 2022-03-15 21:19
小白QIU
阅读(25)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <vector>using namespace std;int get(vector<int> num,int l,int r){ int res=0; for(int i=l;i>=r;i--) res 阅读全文
posted @ 2022-03-15 15:04
小白QIU
阅读(46)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <cstring>#include <algorithm>using namespace std;const int N=310;int n,m;int h[N][N];int f[N][N];int dx[4]={-1,0,1,0},dy[4 阅读全文
posted @ 2022-03-15 13:32
小白QIU
阅读(19)
评论(1)
推荐(0)
摘要:
#include <iostream> #include <algorithm>#include <cstring>using namespace std;const int N=6010;int n;int happy[N];int h[N],e[N],ne[N],idx;int f[N][2]; 阅读全文
posted @ 2022-03-15 12:00
小白QIU
阅读(25)
评论(0)
推荐(0)