题解 1982: 蓝桥杯算法提高VIP-幸运顾客 摘要:解题思路:注意事项:参考代码:import java.util.ArrayList; import java.util.Collections; import java.util.Scanner;…… 题解列表 2021年03月28日 0 点赞 0 评论 636 浏览 评分:8.0
容易理解的C语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a, b, c, n; scanf("%d", &n); a =…… 题解列表 2021年03月30日 0 点赞 0 评论 611 浏览 评分:8.0
题目 1671: 小九九(能解决格式问题的C代码) 摘要:解题思路: 利用循环来输出九九乘法表 通过 i 来控制九九乘法表的 行 并且表示为第二个元素 通过 j 来控制九九乘法表的 列 并且表示为第一个元素 也就是 j * i…… 题解列表 2021年03月30日 0 点赞 4 评论 554 浏览 评分: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 评论 218 浏览 评分:8.0
编写题解 1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:lst = list(map(int,input().split())) print(max(lst))…… 题解列表 2021年04月04日 0 点赞 0 评论 599 浏览 评分:8.0
C语言代码Fibonacci 数列与黄金分割 超简单 摘要: #include #include double f(long n) { if(n==1 || n==2) return 1…… 题解列表 2021年04月05日 0 点赞 0 评论 559 浏览 评分: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 评论 404 浏览 评分:8.0
简单解法(C语言) 摘要:解题思路:每输入一个数就判断是不是为0,为0输出,不为0忽略。注意事项:参考代码:#include<stdio.h>int main(){ int i,n; scanf("%d",&n); int x…… 题解列表 2021年04月09日 0 点赞 1 评论 472 浏览 评分:8.0
注意使用while循环语句 摘要:#include<stdio.h> #include<math.h> int main() { int n; while(~scanf("%d",&n)){ if(n!=0){ …… 题解列表 2021年04月10日 0 点赞 0 评论 584 浏览 评分:8.0
[编程入门]1024:矩阵对角线求和 摘要:解题思路:a[3][3]:a表示定义a,[3][3]表示3行3列,接下来的两个for循环就代表输入a的3行3列,然后程序就输出了第一行第一列,加第二行第二列,加第三行第三列,第一行第三列,加第二行第二…… 题解列表 2021年04月11日 0 点赞 5 评论 382 浏览 评分:8.0