Mispelling4题解(Java) 摘要:解题思路: 先调用trim()和replace()函数将字符串里面的空格清掉,再用substring()函数将字符串切割成两部分,需要删除的字母不在这两部分中注意事项:参考代码…… 题解列表 2022年03月06日 0 点赞 0 评论 480 浏览 评分:0.0
Tom数(我来用Java写) 摘要:解题思路: 将字符串变成字符数组,再变成一个个单字母的字符串,最后用Integer.valueOf()变成整型。注意事项:注意要用long来表示,防止超界。参考代码:import java.util.…… 题解列表 2022年03月06日 0 点赞 0 评论 381 浏览 评分:0.0
报数问题----个人认为还可以 摘要:解题思路:注意事项:将编号加入到一个数组里面,并建立一个一模一样的数组,每循环一次,找到能被三整除的编号的数字,删除,直到数组长度为一的时候,提取元素,在另一个数组里面找到编号参考代码:a=int(i…… 题解列表 2022年03月06日 0 点赞 0 评论 421 浏览 评分:0.0
题解 1473: 蓝桥杯基础练习VIP-芯片测试 摘要:解题思路:寻找测试结果相同最多的一组。注意事项:参考代码:```pythonfrom collections import Countern = int(input())chip = [input()…… 题解列表 2022年03月06日 0 点赞 0 评论 516 浏览 评分:0.0
公交汽车动态规划c++ 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>#include<algorithm>#include<cmath>#include<cstring>…… 题解列表 2022年03月06日 0 点赞 0 评论 656 浏览 评分:0.0
JAVA题解 1433: 蓝桥杯2013年第四届真题-危险系数 摘要:解题思路: DFS暴力搜索,使用了全局栈和全局数据存储数据注意事项:参考代码:import java.io.*; import java.lang.reflect.Array; import ja…… 题解列表 2022年03月06日 0 点赞 0 评论 492 浏览 评分:0.0
选择排序用数组输入 摘要:```cpp #include using namespace std; int main() { int a[10]; for(int i=0;i>a[i]; } int m…… 题解列表 2022年03月06日 0 点赞 0 评论 442 浏览 评分:0.0
二级C语言-求偶数和 摘要:解题思路:定义一个数组存放输入的数,再通过循环使偶数相加注意事项:参考代码:#include<stdio.h>int main(){ int a[100],sum=0,n,j=0; scanf("%d…… 题解列表 2022年03月06日 0 点赞 0 评论 420 浏览 评分:0.0
编写题解 1018: [编程入门]有规律的数列求和--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<iostream>#include<iomanip>using namespace std;int main (){ …… 题解列表 2022年03月06日 0 点赞 0 评论 767 浏览 评分:0.0
2227: 蓝桥杯算法训练-2的次幂表示 摘要: #include #include #include void func(int m,int r) { if (m == 1) { switch …… 题解列表 2022年03月06日 0 点赞 0 评论 541 浏览 评分:0.0