字符逆序(Java) 摘要:解题思路:注意事项:参考代码:import java.io.*; import java.util.*; public class Main { public static void…… 题解列表 2022年03月12日 0 点赞 0 评论 675 浏览 评分:0.0
优质题解 蓝桥杯算法训练VIP-青蛙跳杯子看完包会的(BFS) 摘要:**1.看题找算法**:典型BFS题目 **2思路分析:**输入时即输入2个字符串,我们要通过变换让2个字符串相等.即找到空的杯子,以空杯子为原点bfs,交换空杯子与青蛙不断生成新 的字符串,同时要…… 题解列表 2022年03月12日 0 点赞 0 评论 899 浏览 评分:9.9
求N内的素数(Java语言) 摘要:解题思路:注意事项:参考代码:import java.io.*; import java.util.*; public class Main { public static void…… 题解列表 2022年03月12日 0 点赞 0 评论 311 浏览 评分:0.0
如果全为负数,这个测试测不出来 摘要: int n,m; int pre = 0; int current = 0; int flag=0; int firstnum=INT_MIN; int temp_n; if…… 题解列表 2022年03月12日 0 点赞 0 评论 330 浏览 评分:0.0
[递归]母牛的故事 摘要:解题思路:注意事项:参考代码:while True: n = int(input()) a = b= c = 0 sum = d = 1 for i in range(n-1)…… 题解列表 2022年03月12日 0 点赞 0 评论 714 浏览 评分:8.0
循环链表解法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<bits/stdc++.h>using namespace std;int main(){ typedef st…… 题解列表 2022年03月12日 0 点赞 0 评论 336 浏览 评分:0.0
1592: 蓝桥杯算法训练VIP-FBI树 摘要:[https://www.dotcpp.com/oj/problem1592.html](https://www.dotcpp.com/oj/problem1592.html) - 思路 …… 题解列表 2022年03月12日 0 点赞 0 评论 490 浏览 评分:9.9
蛇行矩阵--根据数字规律 摘要:解题思路:注意事项:参考代码:n=int(input())list=list(range(1,int((n*n+n)/2)+1))for j in range(1,n+1): for i in …… 题解列表 2022年03月12日 0 点赞 0 评论 393 浏览 评分:9.9
队列操作(链队列解法) 摘要: #include #include typedef struct linknode{ int data; struct linknode *next…… 题解列表 2022年03月12日 0 点赞 0 评论 444 浏览 评分:0.0
C++简短小白解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long int i,item,sum=0;…… 题解列表 2022年03月12日 0 点赞 0 评论 354 浏览 评分:0.0