超级简单A+B for Input-Output Practice (VII) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) cou…… 题解列表 2024年03月16日 0 点赞 0 评论 338 浏览 评分:9.9
用并查集来求两个点是否连通(模板题) 摘要:我不知道为什么很多题解都有dfs写,直接用并查集不更快一点吗参考代码:import java.util.*;public class Main { static int[]p=new int[1010…… 题解列表 2024年03月16日 0 点赞 0 评论 322 浏览 评分:0.0
【C语言题解】编写题解 3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属 摘要:``` #include //最大值考虑:A个O只够生成B个X,A不能再多了 //Max=A/B //最大值只能向下取,不能向上取,三条记录合取最大值 //最小值考虑,V越小,B越多, /…… 题解列表 2024年03月16日 0 点赞 0 评论 218 浏览 评分:0.0
2814: 正常血压 摘要:参考代码:n = int(input()) count = [] h = 0 for i in range(n): x, y = map(int, input().split()) …… 题解列表 2024年03月16日 0 点赞 0 评论 268 浏览 评分:9.9
2813: 药房管理 摘要:参考代码:m = int(input()) n = int(input()) arr = list(map(int, input().split())) k = 0 for i in rang…… 题解列表 2024年03月16日 0 点赞 0 评论 244 浏览 评分:0.0
蓝桥杯算法提高VIP-剪刀石头布题解(c语言)最快 摘要:解题思路:通过做差确定谁输谁赢注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a=…… 题解列表 2024年03月16日 0 点赞 0 评论 380 浏览 评分:9.9
蓝桥杯2022年第十三届省赛真题-刷题统计 摘要:解题思路:先把能够算出整数个周期的week算出来,剩下的用求模和除法注意事项:参考代码:#include<stdio.h>int main(){ long long int a,b,n,week,nu…… 题解列表 2024年03月16日 0 点赞 0 评论 288 浏览 评分:0.0
【C语言题解/归并排序】编写题解 1674: 数据结构-有序线性表的有序合并 摘要:``` #include #include typedef struct Union{ int data; struct Union* next; }*node,Node; //…… 题解列表 2024年03月16日 0 点赞 0 评论 260 浏览 评分:0.0
1332: 津津的储蓄计划 摘要:参考代码:estimate = [int(input()) for i in range(12)] #预算 amount = 0 #零花钱 bank = [] flag = True…… 题解列表 2024年03月16日 0 点赞 0 评论 264 浏览 评分:0.0
数据结构-八进制数 摘要:解题思路:注意事项:参考代码:while True: try: n = int(input()) oct_num = oct(n) print(oct_…… 题解列表 2024年03月16日 0 点赞 0 评论 303 浏览 评分:0.0