//Problem:A.LuckyPermutationTriple//Contest:CodeforcesCodeforcesRound183(Div.1)//URL:https://codeforces.com/problemset/problem/303/A//MemoryLimit:256MB//TimeLimit:2000ms//2022-03-2715:21:35////PoweredbyCPEditor(https://cpeditor.org)include<bits/stdc.h>usingnamespacestd;definerep(i,l,r)for(...

  bIizQVVwIKiD   2023年11月02日   15   0   0 #define构造git贪心算法

https://codeforces.com/contest/1582/problem/Cinclude<iostream>include<algorithm>include<bits/stdc.h>usingnamespacestd;constintN=1e3+10;typedeflonglongll;intf[N][N];voidsolve(){intn;strings;cin>>n>>s;intans=n+1;for(intc=0;c<26;c){intl=0,r=n1;intcnt=0;while(l<=r...

  bIizQVVwIKiD   2023年11月02日   24   0   0 #includeiOS最小值算法

//Problem:P1314[NOIP2011提高组]聪明的质监员//Contest:Luogu//URL:https://www.luogu.com.cn/problem/P1314//MemoryLimit:125MB//TimeLimit:1000ms//2022-04-2513:53:23////PoweredbyCPEditor(https://cpeditor.org)include<bits/stdc.h>usingnamespacestd;definerep(i,l,r)for(inti=(l);i<=(r);i)defineper(i,l,r)fo...

  bIizQVVwIKiD   2023年11月02日   21   0   0 #defineiOSgit二分

//Problem:[SCOI2005]扫雷MINE//Contest:NowCoder//URL:https://ac.nowcoder.com/acm/contest/20960/1032//MemoryLimit:524288MB//TimeLimit:2000ms//2022-03-0821:19:29////PoweredbyCPEditor(https://cpeditor.org)include<bits/stdc.h>usingnamespacestd;definerep(i,l,r)for(inti=(l);i<=(r);i)defineper(i,...

  bIizQVVwIKiD   2023年11月02日   31   0   0 递推#defineiOSgit
关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~