优质题解 1219: 数列排序 (C语言代码) 双数组简单思路 摘要:解题思路:空间换时间,用两个数组分别记录比第一个输入的数小的和大的元素首先输入一个数,接下来输入八个数,比第一个数小的放进数组 A ,比第一个数大的放进 B 数组输出的时候先遍历输出数组 A ,再输出…… 题解列表 2021年03月24日 0 点赞 1 评论 2173 浏览 评分:8.0
题解 2065: [STL训练]{A} + {B} (C语言)我来写个C版本的吧,代码不如人家吊炸天,但是你能看懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> //…… 题解列表 2021年03月24日 0 点赞 1 评论 544 浏览 评分:8.0
利用Python特性降低循环次数 摘要:解题思路: 利用切片反向以及内置的sum,减少位数一半的循环注意事项: 可以只循环一半的位数参考代码:count=0 goal=int(input()) flag=True for …… 题解列表 2021年03月26日 0 点赞 0 评论 784 浏览 评分:8.0
题解 1982: 蓝桥杯算法提高VIP-幸运顾客 摘要:解题思路:注意事项:参考代码:import java.util.ArrayList; import java.util.Collections; import java.util.Scanner;…… 题解列表 2021年03月28日 0 点赞 0 评论 781 浏览 评分:8.0
容易理解的C语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a, b, c, n; scanf("%d", &n); a =…… 题解列表 2021年03月30日 0 点赞 0 评论 772 浏览 评分:8.0
题目 1671: 小九九(能解决格式问题的C代码) 摘要:解题思路: 利用循环来输出九九乘法表 通过 i 来控制九九乘法表的 行 并且表示为第二个元素 通过 j 来控制九九乘法表的 列 并且表示为第一个元素 也就是 j * i…… 题解列表 2021年03月30日 0 点赞 4 评论 604 浏览 评分:8.0
不用使用数组,直接根据题意求解 摘要:#include<stdio.h> #include<math.h> int main() { int n,m; while(~scanf("%d %d",&n,&m)){ int…… 题解列表 2021年04月03日 0 点赞 0 评论 280 浏览 评分:8.0
编写题解 1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:lst = list(map(int,input().split())) print(max(lst))…… 题解列表 2021年04月04日 0 点赞 0 评论 696 浏览 评分:8.0
C语言代码Fibonacci 数列与黄金分割 超简单 摘要: #include #include double f(long n) { if(n==1 || n==2) return 1…… 题解列表 2021年04月05日 0 点赞 0 评论 681 浏览 评分:8.0
蓝桥杯算法提高VIP-交换Easy 摘要:参考代码:n, m = map(int, input().split())ls = list(map(int, input().split()))for i in range(m): a, b …… 题解列表 2021年04月08日 0 点赞 0 评论 469 浏览 评分:8.0