字符统计——简单解法 摘要:解题思路:先把每个字符当做唯一出现,再除去相同字母的排列次数注意事项:在输入的时候,记录出现字符最多的次数,并将每个字符以及其次数用HashMap存储。再次遍历HashMap,将出现次数等于最多的加入…… 题解列表 2022年04月17日 0 点赞 2 评论 1666 浏览 评分:8.7
编写题解 1157: 亲和数(python 较易懂) 摘要:m = int(input()) for i in range(m): a, b = map(int, input().split()) a_list = [i for i in…… 题解列表 2022年04月21日 0 点赞 0 评论 1107 浏览 评分:8.7
求长方形面积 摘要:解题思路:首先,我们都知道长方形的周长和面积,周长:(a+b)*2,面积:a*b。注意事项:c:和S:要双引号参考代码:#include<iostream>using namespace std;in…… 题解列表 2022年04月27日 0 点赞 1 评论 987 浏览 评分:8.7
小白也能懂的入门代码 摘要:解题思路:注意事项:参考代码:for i in range(100,1000): a,b,c=str(i) if int(a)**3+int(b)**3+int(c)**3==int(i)…… 题解列表 2022年05月02日 0 点赞 0 评论 548 浏览 评分:8.7
第一个HelloWorld程序 摘要:解题思路:这题没什么好说的注意事项:输出时记得换行,输出时记得换行“ ”。参考代码:#include<bits/stdc++.h>using namespace std; int main(){ …… 题解列表 2022年05月04日 0 点赞 0 评论 650 浏览 评分:8.7
Tetrahedrons and Spheres 摘要:#include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> #include <algorithm> #…… 题解列表 2022年05月08日 0 点赞 2 评论 754 浏览 评分:8.7
python——汽水瓶 摘要:def aa(a): sum = 0 while a > 1: s = a%3   题解列表 2022年05月23日 0 点赞 1 评论 671 浏览 评分:8.7
蓝桥杯算法提高VIP-递归倒置字符数组(C++) 摘要:下面是我(一个小白)的代码,思路简单,欢迎采纳 ```cpp #include #include//调用string的头文件 using namespace std; string zm; …… 题解列表 2022年06月19日 0 点赞 0 评论 1219 浏览 评分:8.7
1028: [编程入门]自定义函数求一元二次方程(不用自定义函数,只用if) 摘要:解题思路:一个一个判断!!!注意事项:1.是空格! 2.保留3位。 3.要输出i!参考代码:#include<bits/stdc++.h> using namespace std; int m…… 题解列表 2022年07月11日 0 点赞 10 评论 317 浏览 评分:8.7
1017: [编程入门]完数的判断(python代码) 摘要:解题思路: 1.输入N 2.用for循环,找出所有因子,并判断此数是否为完美数 3.输出N以内的完美数的所有因子注意事项: 每打印完一个完美数,需换行参考代码:N=int(input()) …… 题解列表 2022年07月20日 0 点赞 2 评论 944 浏览 评分:8.7