ccf 201912-2回收站选址
ccf201912-2回收站选址要判断的点不多,每个点都遍历判断一下就可以了。#include <stdio.h>int main(){ int n;//n个垃圾点 int i,j; int move[4][2] = {1,0,-1,0,0,1,0,-1};//上下左右移动 int movexie[4][2] = {1,1,1,-1,-1,1,-1,-1};// 对角线移动 int flag,flagScore; int result[5] = {0};//记录每个分数




