python用map函数只需要三行 摘要:解题思路: 输入数据 处理数据: 用map函数处理字符串,在python3中map函数是返回的迭代器,所以使用list(map())可以将字符串处理成…… 题解列表 2021年04月11日 0 点赞 0 评论 466 浏览 评分:6.0
蓝桥杯2014年第五届真题-兰顿蚂蚁 c++题解 摘要:解题思路:比较简单的一道题注意事项:注意方向的对应,行数是越向下越大参考代码:#include <iostream> #include <vector> #include <string> …… 题解列表 2021年04月11日 0 点赞 0 评论 115 浏览 评分:0.0
输出全排列题解dfs+回溯 摘要:1. # MarkDown编辑器基本使用说```java public class Main{ static int n; static int[] a;//用来记录已经在排列中的数字 sta…… 题解列表 2021年04月11日 0 点赞 0 评论 405 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁 c++题解 摘要:解题思路:比较简单的一道题注意事项:注意方向的对应,行数是越向下越大参考代码:#include <iostream> #include <vector> #include <string> …… 题解列表 2021年04月11日 0 点赞 0 评论 111 浏览 评分:0.0
题解 1567: 蓝桥杯算法提高VIP-超级玛丽 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class 超级玛丽 { /** * @param args */ pub…… 题解列表 2021年04月11日 0 点赞 0 评论 252 浏览 评分:0.0
1041: [编程入门]宏定义之找最大数 摘要:解题思路:用了if语句注意事项:要写两个cout << fixed << setprecision(3) << a << endl;参考代码:#include<bits/stdc++.h>using…… 题解列表 2021年04月11日 0 点赞 0 评论 298 浏览 评分:9.9
题目 1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[7]; int n,n1; int main(){ …… 题解列表 2021年04月11日 0 点赞 0 评论 239 浏览 评分:9.9
带参宏定义 摘要:解题思路:宏定义的本质是替换过程注意事项:未知变量在主函数中定义参考代码:#include<iostream>using namespace std;#define swap(x,y) {t=x,x=…… 题解列表 2021年04月11日 0 点赞 0 评论 233 浏览 评分:0.0
思路清晰C语言代码 摘要:解题思路:首先,我们要先先判断出哪些数字中含有 2 ,0 ,1 ,9 ,我们可以设置一个函数fun来判断通过while 循环 ,把每一位数都给模出来,然后和 2 ,0 ,1, 9, 这四个数字进行比较…… 题解列表 2021年04月11日 0 点赞 0 评论 456 浏览 评分:9.9
代码比较长,建议耐心食用 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> int findchar(char a[]…… 题解列表 2021年04月11日 0 点赞 2 评论 775 浏览 评分:9.9