1182: 人民币问题 超简单理解 摘要:```python n=int(input()) count=0 for i in range(1,n+1): for j in range(1,n+1): for …… 题解列表 2022年01月20日 0 点赞 0 评论 460 浏览 评分:0.0
1463: 蓝桥杯基础练习VIP-Sine之舞 摘要:解题思路:An的表达式清晰,可以用递归来写,Sn可以用简单的循环来实现注意事项:注意输出格式,结尾处无“)”。参考代码:#include<iostream> using namespace std;…… 题解列表 2022年01月20日 0 点赞 0 评论 298 浏览 评分:0.0
C语言训练-尼科彻斯定理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int m,i,sum;void fun1(){ //sum=0; while(~sca…… 题解列表 2022年01月20日 0 点赞 0 评论 413 浏览 评分:0.0
数据结构-二叉排序树的基本操作(java代码) 摘要:解题思路: 思路类似二分查找吧,就是把数据存储形式换成了二叉树,将比父节点小的值插入左子树,比父节点大的值插入右子树,将全部数据插入完成后即可开始查找,比父节点小的值就去左子树上查找,比…… 题解列表 2022年01月20日 0 点赞 0 评论 439 浏览 评分:0.0
C语言训练-排序问题<1> 摘要:解题思路:冒泡排序注意事项:位置调换参考代码:#include<stdio.h>#include<string.h>int a[4],i,j,m;void fun1(){ for(i=0;i<4…… 题解列表 2022年01月20日 0 点赞 0 评论 294 浏览 评分:0.0
python-多项式输出 摘要:解题思路:常规思路进行格式化输出注意事项:多项式的输出格式大致可分为四类①(n)次项 n次项系数等于1 n次项系数等于-1 其他②(n-1)次到2次项 系数大于1 系数等…… 题解列表 2022年01月20日 0 点赞 0 评论 658 浏览 评分:0.0
-委派任务*(穷举法) 摘要:public class Main { public static void main(String[] args) { //1代表去 0代表不去 for (int A= 0;A …… 题解列表 2022年01月20日 0 点赞 0 评论 273 浏览 评分:0.0
python-寻找三位数 摘要:解题思路:a = [123:329]进行遍历,b = a*2,c = a*3sum = str(a)+str(b)+str(c)if len(set(sum)) == 9 and '0'…… 题解列表 2022年01月20日 0 点赞 0 评论 483 浏览 评分:0.0
水仙花数判断 摘要:参考代码:#include"bits/stdc++.h" using namespace std; int a[1111]; bool check(int z){ int q=0; in…… 题解列表 2022年01月20日 0 点赞 0 评论 242 浏览 评分:0.0
python-栅格打印问题 摘要:解题思路:题目不是很难,有一个细节要注意。注意事项:行和列的值有可能会小于等于0,这个时候没有输出,一定要注意,开始我就是没想到这里。参考代码:def f(n,m): if n <= 0…… 题解列表 2022年01月20日 0 点赞 0 评论 397 浏览 评分:0.0