摘要:
#include#includeusing namespace std;const int MAX=100005;int main(){ int n,sum=0; int dis[MAX],A[MAX]; //sid存1到i的顺时钟方向距离,A存每一小段的距离 dis[1]=0; ... 阅读全文
摘要:
#include#includeconst int N=54;int main(){ char mp[5]={'S','H','C','D','J'}; int n; scanf("%d",&n); int start[N],end[N],next[N]; for(int i=1 ; i<... 阅读全文
摘要:
#include#includeint main(){ int n,maxA,maxB; maxA=maxB=-1; int A[3]={0},B[3]={0}; //0,1,2位置分别存胜利,平局,失败..填入次数 int HARSH1[3]={0},HARSH2[3]={0... 阅读全文