C++版本——低耦合模拟 摘要:```cpp #include using namespcae std; int a[105][105]; int row,cal; int cnt = 0; //根据字母移动 vo…… 题解列表 2021年04月17日 0 点赞 0 评论 201 浏览 评分: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 评论 280 浏览 评分: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 评论 210 浏览 评分:0.0
兰顿蚂蚁通俗解法 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class A1429 { public static void main(String[] args) …… 题解列表 2022年01月02日 0 点赞 0 评论 230 浏览 评分:0.0
兰顿蚂蚁 python 思路太明显了,刷题题解留注吧: 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split())mat=[]for i in range(m): li=list(map(int,input().split(…… 题解列表 2022年01月22日 0 点赞 0 评论 163 浏览 评分:0.0
C++ 将头朝向转化为数组 简便思路 摘要:解题思路:可以将蚂蚁左或右转向再向前移动转化为:蚂蚁移动到上下左右四个方向上.关键是 上 可以转化为数组dir={左,上,右,下};即dir={0,1,2,3} …… 题解列表 2022年02月24日 0 点赞 0 评论 167 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁 摘要:m,n = map(int,input().strip().split())a = [list(map(int,input().strip().split())) for i in range(m)]…… 题解列表 2022年02月28日 0 点赞 0 评论 190 浏览 评分:0.0
直译法简单理解 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main(){ int n,m; int maze[500…… 题解列表 2022年03月01日 0 点赞 0 评论 239 浏览 评分:0.0
python求解方法 摘要:解题思路:注意事项:参考代码:#完整版a,b=map(int,input().split())maps=[[0 for j in range(b)]for i in range(a)]for i in…… 题解列表 2022年03月03日 0 点赞 0 评论 200 浏览 评分:0.0
兰顿蚂蚁 C++ 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <map> #include <string> using namespace std; int dy[…… 题解列表 2022年03月09日 0 点赞 0 评论 148 浏览 评分:0.0