1007: [编程入门]分段函数求值题解(C语言) 摘要:解题思路:1、通过除以10取余来读取各位上的数字, 2、用数组储存读取的数字 3、用while循环遍历实现; 4、输出用f…… 题解列表 2021年04月09日 0 点赞 0 评论 881 浏览 评分:9.9
求偶数和--c语言 摘要:解题思路:首先定义n,设置一个for循环让其从0--n依次循环,再用求余筛选偶数,再将偶数相加。注意事项:参考代码:#include<stdio.h>main(){ int n,i,sum=0; sc…… 题解列表 2021年04月09日 0 点赞 0 评论 348 浏览 评分:0.0
虽然麻烦了不少,但是思路很简单 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class test1255 { /** * @param args */ …… 题解列表 2021年04月09日 0 点赞 0 评论 269 浏览 评分:0.0
蓝桥杯算法训练VIP-瓷砖铺放 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { /** * @param args */ p…… 题解列表 2021年04月09日 0 点赞 0 评论 238 浏览 评分:6.0
这就是个冒泡排序bubble_Sort 摘要:解题思路:每次只能交换两个相邻的 升序不交换 降序才交换,这不就是冒泡排序吗- - 注意事项:拿一个cnt变量记录交换了多少次即可 参考代码: ``` public cl…… 题解列表 2021年04月09日 0 点赞 1 评论 591 浏览 评分:9.9
简单python走起 摘要:解题思路:注意事项:参考代码:mas=input().split() mas_1=[len(i) for i in mas ] mx=mas_1.index(max(mas_1)) print(…… 题解列表 2021年04月09日 0 点赞 0 评论 309 浏览 评分:0.0
简单 易懂 矩阵转换 摘要:输入时按行输入1 1 12 2 23 3 3输出时按列输出1 2 31 2 31 2 3#include <stdio.h>#include <stdlib.h>int main(){ int …… 题解列表 2021年04月09日 0 点赞 0 评论 461 浏览 评分:9.0
简单python走起 摘要:解题思路:注意事项:参考代码:def cc(n): a=list(str(n)) b=list(str(n)) a.sort(reverse=True) b.…… 题解列表 2021年04月09日 0 点赞 0 评论 374 浏览 评分:0.0
简单python走起 摘要:解题思路:注意事项:参考代码:for i in range(100,335): l=[] a=i b=2*i c=3*i l.extend(…… 题解列表 2021年04月09日 0 点赞 0 评论 472 浏览 评分:0.0
简单解法(C语言) 摘要:解题思路:每输入一个数就判断是不是为0,为0输出,不为0忽略。注意事项:参考代码:#include<stdio.h>int main(){ int i,n; scanf("%d",&n); int x…… 题解列表 2021年04月09日 0 点赞 1 评论 408 浏览 评分:8.0