1025: [编程入门]数组插入处理 摘要:解题思路:运用迭代思想注意事项:先画流程图理清思路,关键是将第二行的数按正序插入第一行中,我们采用迭代的方法,将插入的数放入score【9】中,然后将score【9】与score【8】,score【7…… 题解列表 2021年11月12日 0 点赞 0 评论 398 浏览 评分:0.0
第一个是函数,第二个才是完整的程序。。 摘要:解题思路:先解决一般的,特殊的单独算。注意事项:参考代码:#include<stdio.h>int sud(int x,int y,int z,int sum,int n,int m){ if(n>=…… 题解列表 2021年11月13日 0 点赞 0 评论 505 浏览 评分:0.0
[编程入门]链表合并 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; typedef struct node{ int num; int…… 题解列表 2021年11月13日 0 点赞 0 评论 386 浏览 评分:0.0
编写题解 1561: 蓝桥杯算法提高VIP-计算质因子(python) 摘要:解题思路:注意事项:参考代码:N = int(input())l = []m = []for i in range(2,N//2+1): if N % i == 0: l.appe…… 题解列表 2021年11月13日 0 点赞 0 评论 338 浏览 评分:0.0
这题的描述有毛病:结尾有空格才对,没有空格会报错。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 21int uf(long b[],int m,int n){ int t; if(m<n/2){ t=b[m]; …… 题解列表 2021年11月13日 0 点赞 0 评论 567 浏览 评分:0.0
实数的打印 摘要:解题思路:主要是理解”6.2f“格式,这是个占位符,f表示float类型,6表示输出的数字占六位,数字向右靠齐。2表示精确到小数点后两位。注意事项:不要忘了“用空格分隔同一行的数字"这一要求参考代码:…… 题解列表 2021年11月14日 0 点赞 0 评论 756 浏览 评分:0.0
易懂比较简单(c语言)。 摘要:解题思路:两次循环一次找完数,一次输出因子。注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); for(…… 题解列表 2021年11月14日 0 点赞 0 评论 680 浏览 评分:0.0
题解 1010: [编程入门]利润计算 摘要:#include <stdio.h> int main() { int benefit, bonus//建变量 scanf("%d", &benefit); if (benefi…… 题解列表 2021年11月14日 0 点赞 0 评论 380 浏览 评分:0.0
特殊的数字四十 摘要:解题思路:注意事项:参考代码:for i in range(1000,10000): a = str(i) b= 0 for j in a: b +=i…… 题解列表 2021年11月14日 0 点赞 0 评论 440 浏览 评分:0.0
特殊的数字四十 摘要:解题思路:注意事项:参考代码:for i in range(1000,10000): a = str(i) b= 0 for j in a: b +=int(j) …… 题解列表 2021年11月14日 0 点赞 0 评论 825 浏览 评分:0.0