1977: 求中间数 摘要:#include<stdio.h> int main() { int a,b,c,mid; scanf("%d %d %d", &a,&b,&c); if(a>b) …… 题解列表 2023年03月12日 2 点赞 0 评论 600 浏览 评分:6.0
实数的打印 摘要:解题思路:注意事项:输出时注意一行输出的两个数之间有一个空格参考代码:n = float(input())for i in range(1, 4): print(("%6.2f "%n)*i)…… 题解列表 2023年03月14日 1 点赞 0 评论 352 浏览 评分:6.0
Python 深度优先算法(DFS) 摘要:解题思路:注意事项:参考代码:n,r = map(int,input().strip().split()) nums = [i for i in range(1,n+1)] result = []…… 题解列表 2023年03月16日 0 点赞 0 评论 513 浏览 评分:6.0
本来是通过排序后的下标去寻找,但是不知道为啥是错。。。。 摘要:这题有一个指向关系,化成数组在排序. 2 4 9 10 15 17 22 对应关系随着排序, 6 2 8 3 12 17 4 ` import java.util.*; p…… 题解列表 2023年03月17日 0 点赞 1 评论 396 浏览 评分:6.0
1274: 排座椅[NOIP2008 年普及组] 摘要:```cpp #include #include using namespace std; struct ff { int x,y,p,q; }a[2001]; struct …… 题解列表 2023年03月17日 0 点赞 0 评论 456 浏览 评分:6.0
2717——蓝桥杯2022年第十三届决赛真题-左移右移(仿写题解) 摘要: import java.util.Scanner; import java.util.Arrays; public class Main { public st…… 题解列表 2023年03月21日 0 点赞 0 评论 604 浏览 评分:6.0
算术表达式与顺序执行--1.A+B Problem 摘要:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%d",a+b); retur…… 题解列表 2023年03月23日 0 点赞 0 评论 263 浏览 评分:6.0
1275: 吹哨传球 摘要:```cpp #include using namespace std; int main() { int n,m; int F[31][31]; scanf(…… 题解列表 2023年03月24日 0 点赞 0 评论 430 浏览 评分:6.0
LikeWater - 2701: 蓝桥杯真题-取模(请问有谁知道看错题的痛!一直看成n mod x == m mod y 隔这儿一只写。。。) 摘要:####这是题目:给定 n, m ,问是否存在两个不同的数 x, y 使得 1 ≤ x < y ≤ m 且 n mod x = n mod y 。 ***最后的地方我看成了n mod x = m m…… 题解列表 2023年03月24日 0 点赞 0 评论 736 浏览 评分:6.0
1492: 蓝桥杯算法提高VIP-产生数 摘要:```cpp #include #include using namespace std; int tag[10][10],d[10],p[1000]; int main() { …… 题解列表 2023年03月24日 0 点赞 0 评论 494 浏览 评分:6.0