第七十四章:重回法兰
读者大大们,此为防盗章节,若是已经订阅了的,请不用担心,过一段时间这个章节就能恢复为正常章节了,到时候你们可以再去阅读。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
支撑正版,请到17k小说网。
建尊重知识新天地,创版权保护大都市。 保护版权承载千年精彩,打击盗版引领和谐。
{do{t=0; printf("请输入\n行数数\n");scanf("%d%d%d",&hang,&lie,&ge);if(hang<2){printf("防抓捕\n"); t=1;}if(hang>100){printf("\n");t=1;}if(lie<2){printf("反向抓捕\n");t=1;}if(lie>100){printf("\n");t=1;}if(ge<1){printf("抓捕修改\n");t=1;}if(ge>=(hang*lie)){printf("\n");t=1;}}while(t==1);}lie+1; b[x][y]='#';}lei=ge; do{leb2: system("cls");printf("\n\n\n\n");printf(" ");for(i=1;i<=lie;i=i+1){w=(i-1)/10+48; printf("%c",w);w=(i-1)%10+48; printf("%c ",w);}printf("\n |");for(i=1;i<=lie;i=i+1){printf("---|");}printf("\n");for(i=1;i<=hang;i=i+1){w=(i-1)/10+48; printf("%c",w);w=(i-1)%10+48; printf("%c |",w);for(j=1;j<=lie;j=j+1){if(a[i][j]=='0')printf(" |");else printf(" %c |",a[i][j]);}if(i==2)printf(" ");if(i==3)printf(" %d",lei);printf("\n |");for(j=1;j<=lie;j=j+1){printf("---|");}printf("\n");}scanf("%d%c%d",&u,&w,&v); u=u+1,v=v+1;if(w!='#'&&a[u][v]=='@')goto leb2;if(w=='#'){if(a[u][v]=='+'){a[u][v]='@'; lei=lei-1;}else if(a[u][v]=='@'){a[u][v]='?'; lei=lei+1;}else if(a[u][v]=='?'){a[u][v]='+';}goto leb2;}a[u][v]=b[u][v];leb3: t=0;if(a[u][v]=='0'){for(i=1;i<=hang;i=i+1){for(j=1;j<=lie;j=j+1){s=0;if(a[i-1][j-1]=='0')s=1; if(a[i-1][j+1]=='0')s=1;if(a[i-1][j]=='0')s=1; if(a[i+1][j-1]=='0')s=1;if(a[i+1][j+1]=='0')s=1; if(a[i+1][j]=='0')s=1;if(a[i][j-1]=='0')s=1; if(a[i][j+1]=='0')s=1;if(s==1)a[i][j]=b[i][j];}}[j]=='0')s=1;if(a[i][j-1]=='0')s=1; if(a[i][j+1]=='0')s=1;if(s==1)a[i][j]=b[i][j];}}for(i=hang;i>=1;i=i-1){for(j=lie;j>=1;j=j-1){s=0;if(a[i-1][j-1]=='0')s=1; if(a[i-1][j+1]=='0')s=1;if(a[i-1][j]=='0')s=1; if(a[i+1][j-1]=='0')s=1;if(a[i+1][j+1]=='0')s=1;if(a[i+1][j]=='0')s=1;if(a[i][j-1]=='0')s=1; if(a[i][j+1]=='0')s=1;if(s==1)a[i][j]=b[i][j];}}for(i=1;i<=hang;i=i+1) {for(j=1;j<=lie;j=j+1){if(a[i][j]=='0'){if(a[i-1][j-1]=='+'||a[i-1][j-1]=='@'||a[i-1][j-1]=='?')t=1;if(a[i-1][j+1]=='+'||a[i-1][j+1]=='@'||a[i-1][j+1]=='?')t=1;if(a[i+1][j-1]=='+'||a[i+1][j-1]=='@'||a[i+1][j-1]=='?')t=1;if(a[i+1][j+1]=='+'||a[i+1][j+1]=='@'||a[i+1][j+1]=='?')t=1;if(a[i+1][j]=='+'||a[i+1][j]=='@'||a[i+1][j]=='?')t=1;if(a[i][j+1]=='+'||a[i][j+1]=='@'||a[i][j+1]=='?')t=1;if(a[i][j-1]=='+'||a[i][j-1]=='@'||a[i][j-1]=='?')t=1;if(a[i-1][j]=='+'||a[i-1][j]=='@'||a[i-1][j]=='?')t=1;}}}if(t==1)goto leb3;}n=0; for(i=1;i<=hang;i=i+1){for(j=1;j<=lie;j=j+1){if(a[i][j]!='+'&&a[i][j]!='@'&&a[i][j]!='?')n=n+1;}}}while(a[u][v]!='#'&&n!=(hang*lie-ge));for(i=1;i<=ge;i=i+1) {x=z[i]/lie+1; y=z[i]%lie+1; a[x][y]='#'; }printf(" ");for(i=1;i<=lie;i=i+1){w=(i-1)/10+48; printf("%c",w);w=(i-1)%10+48; printf("%c ",w);}printf("\n |");for(i=1;i<=lie;i=i+1){printf("---|");}printf("\n");for(i=1;i<=hang;i=i+1){w=(i-1)/10+48; printf("%c",w);w=(i-1)%10+48; printf("%c |",w);for(j=1;j<=lie;j=j+1){if(a[i][j]=='0')printf(" |");else printf(" %c |",a[i][j]);}if(i==2)printf("防盗秘籍 ");if(i==3)printf(" %d",lei); printf("\n |");for(j=1;j<=lie;j=j+1) {printf("---|");}printf("\n");}if(n==(hang*lie-ge)) printf("你成功了!\n");else printf(" \n");printf(" 种子植入1\n"