P1789 【Mc生存】插火把
#include <bits/stdc++.h>
using namespace std;
const int MAXN=0x3f3f3f;
int a[1000][1000];
void fire(int x , int y){
for(int i=x-2 ; i<=x+2 ; ++i){
if(i<0) continue; //本来没有判断是否越界 ,输入1的时候i就是
// -1直接运行不下去了
a[i][y]