小白也能懂的入门代码 摘要:解题思路:注意事项:参考代码: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 评论 375 浏览 评分:8.7
第一个HelloWorld程序 摘要:解题思路:这题没什么好说的注意事项:输出时记得换行,输出时记得换行“ ”。参考代码:#include<bits/stdc++.h>using namespace std; int main(){ …… 题解列表 2022年05月04日 0 点赞 0 评论 504 浏览 评分:8.7
Tetrahedrons and Spheres 摘要:#include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> #include <algorithm> #…… 题解列表 2022年05月08日 0 点赞 2 评论 561 浏览 评分:8.7
1037 宏定义的练习 摘要:解题思路:1.输入两个整数2.求两个整数相除的余数注意事项:参考代码: a,b = map(int,input().split()) print(a%b)…… 题解列表 2022年05月17日 0 点赞 0 评论 584 浏览 评分:8.7
python——汽水瓶 摘要:def aa(a): sum = 0 while a > 1: s = a%3   题解列表 2022年05月23日 0 点赞 1 评论 587 浏览 评分:8.7
蓝桥杯算法提高VIP-递归倒置字符数组(C++) 摘要:下面是我(一个小白)的代码,思路简单,欢迎采纳 ```cpp #include #include//调用string的头文件 using namespace std; string zm;…… 题解列表 2022年06月19日 0 点赞 0 评论 1034 浏览 评分:8.7
1028: [编程入门]自定义函数求一元二次方程(不用自定义函数,只用if) 摘要:解题思路:一个一个判断!!!注意事项:1.是空格! 2.保留3位。 3.要输出i!参考代码:#include<bits/stdc++.h> using namespace std; int m…… 题解列表 2022年07月11日 0 点赞 10 评论 234 浏览 评分:8.7
1017: [编程入门]完数的判断(python代码) 摘要:解题思路: 1.输入N 2.用for循环,找出所有因子,并判断此数是否为完美数 3.输出N以内的完美数的所有因子注意事项: 每打印完一个完美数,需换行参考代码:N=int(input()) …… 题解列表 2022年07月20日 0 点赞 2 评论 812 浏览 评分:8.7
投机取巧一下 摘要:解题思路:。。。。。。。。。。。。。。。注意事项:。。。。。。。。。参考代码:print(1993)…… 题解列表 2022年07月28日 0 点赞 0 评论 338 浏览 评分:8.7
c语言迭代法求平方根 摘要:解题思路:迭代算法的基本思想是: 为求一个问题的解x,可由给定的一个初值x0,根据某一迭代公式得到一个新的值x1,这个新值x1比初值x0 更接近要求的值x;再以新值作为初值,即:x1→x0,重新按原来…… 题解列表 2022年08月10日 0 点赞 3 评论 693 浏览 评分:8.7