兄弟们!
我吐血了
我肝了一个下午.....
观众:诶,到底是什么让你吐血啊
不扯了,直接上代码!——
#include <bits/stdc++.h>
#include <stdio.h>
#include <iostream>
#include <time.h>
#include <conio.h>
#include <windows.h>
#include <stdlib.h>
#include <string.h>
using namespace std;
#define HP 100
int input=0;
int fangx, nextfx;
int fxfx[4][2] = {
{0, -1}, {1, 0}, {0, 1}, {-1, 0}};
int x=1,y=1;
int n=1;
int hp1=100,hp2=100,hp3=100,hp4=100,hp5=100;
void open(){
cout<<endl<<endl<<endl<<" CS:GO";
Sleep(2000);
system("cls");
}
int t=5,ct=5,T=0,CT=0,f=0;
float h=2.00;
//0:路,1:墙,3:出生地,4:门,5:玻璃,6:你,7:包点,8:人质,9:炸弹,10、11、12、13、14:敌人1,2,3,4,5。
int ditu[100][50][60]={
{
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,6,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1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