蓝桥杯2017年第八届真题-日期问题-题解(C++代码) 摘要:```cpp #include #include #include #include using namespace std; int days[13] = {0, 31,…… 题解列表 2020年12月22日 0 点赞 0 评论 832 浏览 评分: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 评论 692 浏览 评分:0.0
区间中最大的数-题解(Python代码) 摘要:```python n = int(input()) a = list(map(int,input().split())) q = int(input()) #询问次数 for …… 题解列表 2020年12月22日 0 点赞 0 评论 1293 浏览 评分: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 评论 565 浏览 评分: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 评论 537 浏览 评分: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 评论 820 浏览 评分: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 评论 811 浏览 评分: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 评论 641 浏览 评分:0.0
蓝桥杯2019年第十届真题-完全二叉树的权值-题解(C语言代码) 摘要:```cpp #include #include #include #include using namespace std; typedef long long LL;/…… 题解列表 2020年12月22日 0 点赞 0 评论 718 浏览 评分:0.0
[编程入门]宏定义之闰年判断-题解(C语言代码) 摘要:解题思路: 在宏中使用三目运算符(不能使用if等语句)注意事项:参考代码:#include <stdio.h>#define LEAP_YEAR(y) (((y % 4==0)&&( y % 100 …… 题解列表 2020年12月22日 0 点赞 0 评论 524 浏览 评分:0.0