#include<iostream>
#include<cstdlib>
using namespace std;
const char outstr[11][4]={"┌","┬","┐","├","┼","┤","└","┴","┘","○","●"};
int com[15][15],luozi[15][15],c,d;
void jushi() //这是判断落子重要性的函数
{
int x,y,i,m,n,lianzi1=0,lianzi2=0,life=0;
memset(com,0,sizeof(com));
for(x=0;x<=14;x++)
for(y=0;y<=14;y++)
{
if(luozi[x][y]==0)
{
for(m=-1;m<=1;m++)
for(n=-1;n<=1;n++)
{
if(m!=0 || n!=0)
{
for(i=1;i<=4;i++)
{
if( x+i*m>=0 && x+i*m<=14 && y+i*n>=0 && y+i*n<=14 && luozi[x+i*m][y+i*n]==1 )
{lianzi1++;}
else
if(luozi[x+i*m][y+i*n]==0)
{life++; break;}
else
{break;}
}
for(i=-1;i>=-4;i--)
{
if( x+i*m>=0 && x+i*m<=14 && y+i*n>=0 && y+i*n<=14 && luozi[x+i*m][y+i*n]==1 )
{lianzi1++;}
else
if(luozi[x+i*m][y+i*n]==0)
{life++; break;}
else
{break;}
}
if(lianzi1==1) {com[x][y]+=1;}
else if(lianzi1==2)
{
if(life==1) {com[x][y]+=5;}
else if(life==2