题解 2065: [STL训练]{A} + {B} (C语言)我来写个C版本的吧,代码不如人家吊炸天,但是你能看懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> //…… 题解列表 2021年03月24日 0 点赞 1 评论 800 浏览 评分:8.0
利用Python特性降低循环次数 摘要:解题思路: 利用切片反向以及内置的sum,减少位数一半的循环注意事项: 可以只循环一半的位数参考代码:count=0 goal=int(input()) flag=True for …… 题解列表 2021年03月26日 0 点赞 0 评论 939 浏览 评分:8.0
题解 1982: 蓝桥杯算法提高VIP-幸运顾客 摘要:解题思路:注意事项:参考代码:import java.util.ArrayList; import java.util.Collections; import java.util.Scanner;…… 题解列表 2021年03月28日 0 点赞 0 评论 915 浏览 评分:8.0
容易理解的C语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a, b, c, n; scanf("%d", &n); a =…… 题解列表 2021年03月30日 0 点赞 0 评论 881 浏览 评分:8.0
题目 1671: 小九九(能解决格式问题的C代码) 摘要:解题思路: 利用循环来输出九九乘法表 通过 i 来控制九九乘法表的 行 并且表示为第二个元素 通过 j 来控制九九乘法表的 列 并且表示为第一个元素 也就是 j * i…… 题解列表 2021年03月30日 0 点赞 4 评论 667 浏览 评分: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 评论 351 浏览 评分:8.0
编写题解 1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:lst = list(map(int,input().split())) print(max(lst))…… 题解列表 2021年04月04日 0 点赞 0 评论 778 浏览 评分:8.0
C语言代码Fibonacci 数列与黄金分割 超简单 摘要: #include #include double f(long n) { if(n==1 || n==2) return 1…… 题解列表 2021年04月05日 0 点赞 0 评论 767 浏览 评分: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 评论 562 浏览 评分:8.0
简单解法(C语言) 摘要:解题思路:每输入一个数就判断是不是为0,为0输出,不为0忽略。注意事项:参考代码:#include<stdio.h>int main(){ int i,n; scanf("%d",&n); int x…… 题解列表 2021年04月09日 0 点赞 1 评论 675 浏览 评分:8.0