C语言写的!嘻嘻#define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h>#include<stdlib.h>#include<string.h>#include<stdbool.h>#include<assert.h>typedef struct position{ int col; int row;}PS;/////////////////...