python解法,注释详细 摘要:解题思路:黑色的转向作为基准:(如果是要白色为底,则把value的值*-1即可注意事项:参考代码:m, n = map(int, input().split())l = [0] * m # 初始化列…… 题解列表 2021年03月22日 0 点赞 0 评论 189 浏览 评分:0.0
轻松利用C语言解《兰顿蚂蚁》 摘要:解题思路:根据当前位置坐标判断下一步行走方向和所要改变的位置颜色。(交流学习:1490707770)注意事项:参考代码:#include<stdio.h> int *p,*f;char *asp;vo…… 题解列表 2021年03月24日 0 点赞 0 评论 415 浏览 评分:0.0
C语言,简单易懂 摘要:```c #include int main() { int m,n,a[100][100],i,j,x,y,k,b; char s; scanf("%d %d",&m,&n); …… 题解列表 2021年04月08日 0 点赞 0 评论 221 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁 c++题解 摘要:解题思路:比较简单的一道题注意事项:注意方向的对应,行数是越向下越大参考代码:#include <iostream> #include <vector> #include <string> …… 题解列表 2021年04月11日 0 点赞 0 评论 96 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁 c++题解 摘要:解题思路:比较简单的一道题注意事项:注意方向的对应,行数是越向下越大参考代码:#include <iostream> #include <vector> #include <string> …… 题解列表 2021年04月11日 0 点赞 0 评论 98 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁 摘要:#### 其实这种题目最主要的还是看题,审题,思路理清楚,用常规思维也可以解出来的,我们跟着题目要求条件来。给出坐标(从0开始的),那我们肯定从坐标点开始 1. 首先判断黑白格,白格则左转90度,那…… 题解列表 2021年04月12日 0 点赞 0 评论 297 浏览 评分:0.0
C++版本——低耦合模拟 摘要:```cpp #include using namespcae std; int a[105][105]; int row,cal; int cnt = 0; //根据字母移动 vo…… 题解列表 2021年04月17日 0 点赞 0 评论 219 浏览 评分:0.0
1429: 蓝桥杯2014年第五届真题-兰顿蚂蚁 摘要: #include #include using namespace std; int mapp[105][015]; int v[4][2]={{-1,0},{0,1},{1,0…… 题解列表 2021年04月25日 0 点赞 0 评论 335 浏览 评分:0.0
landun蚂蚁(c++) 摘要:#include<iostream>using namespace std;int landun[100][100];int m, n;int x, y, k;char s;int main(){ c…… 题解列表 2021年08月29日 0 点赞 0 评论 230 浏览 评分:0.0
兰顿蚂蚁通俗解法 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class A1429 { public static void main(String[] args) …… 题解列表 2022年01月02日 0 点赞 0 评论 247 浏览 评分:0.0