题解列表

筛选

【数组的距离】 (C语言代码)

摘要:解题思路:1.绝对值函数abs()在头文件math.h里面2.最小距离比较得来是关键参考代码:#include<stdio.h> #include<math.h>//包含绝对值函数的头文件 int……

剪格子 (C语言代码)

摘要:解题思路:深度优先搜索+回溯(筛选)注意事项:参考代码:#include <stdio.h>int xmove[4]={-1,1,0,0};int ymove[4]={0,0,-1,1};int fl……