前言
你以为我是jzojjzojjzoj,其实我是GMojGMojGMoj哒
成绩
JJJ表示初中,HHH表示高中后面加的是几年级
上至222分XJQXJQXJQ,下至200ZZY200ZZY200ZZY都有我们SSLSSLSSL的人(滑稽)
|RankRankRank|PersonPersonPerson|ScoreScoreScore|AAA|BBB|CCC|
RankRankRank | PersonPersonPerson | ScoreScoreScore | AAA | BBB | CCC |
---|---|---|---|---|---|
222 | (J−3)ZZY(J-3)ZZY(J−3)ZZY | 200200200 | 100100100 | 100100100 | 000 |
151515 | (J−3)WHF(J-3)WHF(J−3)WHF | 104104104 | 161616 | 888888 | 000 |
202020 | (J−2)ZYC(J-2)ZYC(J−2)ZYC | 969696 | 000 | 868686 | 101010 |
222222 | (J−2)WYC(J-2)WYC(J−2)WYC | 909090 | 444 | 868686 | 000 |
272727 | (J−2)HJQ(J-2)HJQ(J−2)HJQ | 848484 | 000 | 848484 | 000 |
343434 | (J−2)LRZ(J-2)LRZ(J−2)LRZ | 525252 | 888 | 444444 | 000 |
363636 | (J−2)XXY(J-2)XXY(J−2)XXY | 515151 | 515151 | 000 | 000 |
404040 | (J−3)QYH(J-3)QYH(J−3)QYH | 383838 | 222 | 343434 | 222 |
575757 | (J−2)HZB(J-2)HZB(J−2)HZB | 141414 | 121212 | 222 | 000 |
616161 | (J−2)LW(J-2)LW(J−2)LW | 444 | 222 | 222 | 000 |
636363 | (J−2)XJQ(J-2)XJQ(J−2)XJQ | 222 | 000 | 222 | 000 |
正题
T1:jzoj3318−[BOI2013]BrunhildaT1:jzoj3318-[BOI2013]BrunhildaT1:jzoj3318−[BOI2013]Brunhilda的生日【数论】
链接:
https://blog.csdn.net/Mr_wuyongcong/article/details/95064511
T2:jzoj3319−[BOI2013]T2:jzoj3319-[BOI2013]T2:jzoj3319−[BOI2013]雪地踪迹【bfsbfsbfs】
链接:
https://blog.csdn.net/Mr_wuyongcong/article/details/95069822
T3:Loj2687,jzoj3320−T3:Loj2687,jzoj3320-T3:Loj2687,jzoj3320−文本编辑器【线头dpdpdp】
链接:
https://blog.csdn.net/Mr_wuyongcong/article/details/95077052
someofcodesome\ of\ codesome of code
T14T1\ 4T1 4分codecodecode
#include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
#define check(x,y) ((x%y==0)?2147483647:x%y)
#define tr(x) (x+1)%m
#define cot(x,y) ((x%y==0)?(2147483647):(int(x/y)*y))
using namespace std;
const int N=10001;
int m,n,a[N],f[N],Q,mod[N],flag,pord;
int main()
{scanf("%d%d",&m,&Q);pord=1;for(int i=0;i<m;i++){scanf("%d",&a[i]);pord=pord*a[i];if(pord>=N) flag=1,pord=0;}memset(f,0x3f,sizeof(f));f[0]=0;for(int i=1;i<=N;i++){if(!flag&&i>=pord) break;for(int j=1;j<m;j++)if(i%a[j]>i%a[mod[i]])mod[i]=j;f[i]=f[cot(i,a[mod[i]])]+1;}while(Q--){scanf("%d",&n);if(!flag&&n>=pord) printf("oo\n");else printf("%d\n",f[n]);}
}
T286T2\ 86T2 86分codecodecode
#include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
using namespace std;
const int N=4100;
//int show[N][N];
int n,m,ans,v[N][N];
int qx[N*N],qy[N*N],l=1,r;
char c[N][N],z;
void dfs(int x,int y,char pos)
{if(x<1||y<1||x>n||y>m) return;if(c[x][y]!=pos||v[x][y]) return;v[x][y]=1;qx[++r]=x;qy[r]=y;dfs(x+1,y,pos);dfs(x,y+1,pos);dfs(x-1,y,pos);dfs(x,y-1,pos);
}
int main()
{scanf("%d%d",&n,&m);for(int i=1;i<=n;i++)for(int j=1;j<=m;j++)cin>>c[i][j];dfs(1,1,c[1][1]);z=c[1][1];while(l<=r){ans++;int R=r;if(z=='F') z='R';else z='F';for(int i=l;i<=R;i++){
// show[qx[i]][qy[i]]=1;dfs(qx[i]-1,qy[i],z);dfs(qx[i]+1,qy[i],z);dfs(qx[i],qy[i]-1,z);dfs(qx[i],qy[i]+1,z);}
// for(int i=1;i<=n;i++){
// for(int j=1;j<=m;j++)
// printf("%c",show[i][j]*(z=='F'?'R':'F'));
// putchar('\n');
// }
// putchar('\n');l=R+1;}printf("%d",ans);
}
总结
好烦今天我好菜,T2T2T2虽然一眼正解谁知linuxlinuxlinux也会爆栈,然后T1T1T1死刚半天结果是错误的方法。
;(\color{blue}\texttt{;(};(
最后的最后
我TM依旧蔡的一匹呀鸡你太美\color{red}\begin{matrix}\huge我_{TM^{依^旧}}^{蔡_{的_{一_{匹_{呀}}}}} \end{matrix}\color{white}\\\texttt{鸡你太美}我TM依旧蔡的一匹呀鸡你太美