[编程入门]三个数字的排序-题解(C语言代码) 摘要:解题思路:首先,1】可以硬解,2】使用宏定义 3】使用指针 注意事项:参考代码:#include <stdio.h>int main(){ int a[3] ,t ,i = 0,j = 0; scan…… 题解列表 2020年12月21日 0 点赞 0 评论 379 浏览 评分:0.0
蓝桥杯2017年第八届真题-日期问题-题解(C++代码) 摘要:```cpp #include #include #include #include using namespace std; int days[13] = {0, 31,…… 题解列表 2020年12月22日 0 点赞 0 评论 815 浏览 评分:0.0
素数回文-题解(Python代码) 摘要:```python a,b = map(int,input().split()) for i in range(a,b+1): if i > 1: for j in r…… 题解列表 2020年12月22日 0 点赞 0 评论 671 浏览 评分:0.0
区间中最大的数-题解(Python代码) 摘要:```python n = int(input()) a = list(map(int,input().split())) q = int(input()) #询问次数 for …… 题解列表 2020年12月22日 0 点赞 0 评论 1263 浏览 评分:0.0
[编程入门]带参数宏定义练习-题解(C语言代码) 摘要:参考代码:#include<stdio.h>#include<stdlib.h>#define change(a,b) t=a,a=b,b=tint main(){ int a,b,t; …… 题解列表 2020年12月22日 0 点赞 0 评论 540 浏览 评分:0.0
[编程入门]宏定义的练习-题解(C语言代码) 摘要:参考代码:#include<stdio.h>#include<stdlib.h>#define divisor(a,b) t=a%bint main(){ int a,b,t; scanf…… 题解列表 2020年12月22日 0 点赞 0 评论 517 浏览 评分:0.0
母牛生小牛-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i, a[100]; scanf("%d", &n); a[1] = 1; a[2] = 1; a…… 题解列表 2020年12月22日 0 点赞 0 评论 794 浏览 评分:0.0
盐水的故事-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m, n, i, t, j; scanf("%d%d", &m, &n); t = 1; j = 0; …… 题解列表 2020年12月22日 0 点赞 0 评论 783 浏览 评分:0.0
蓝桥杯算法提高VIP-字符串跳步-题解(Python代码) 摘要:```python a = input() a = list(a) #转为列表 n,m = map(int,input().split()) for i in range(n,len(a),…… 题解列表 2020年12月22日 0 点赞 0 评论 623 浏览 评分:0.0
蓝桥杯2019年第十届真题-完全二叉树的权值-题解(C语言代码) 摘要:```cpp #include #include #include #include using namespace std; typedef long long LL;/…… 题解列表 2020年12月22日 0 点赞 0 评论 696 浏览 评分:0.0