【C语言题解】编写题解 3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属 ```#include//最大值考虑:A个O只够生成B个X,A不能再多了//Max=A/B//最大值只能向下取,不能向上取,三条记录合取最大值//最小值考虑,V越小,B越多,//临界情况,B比原来多1,说明X比原来少1//Min=A/(B+1)+1//Min只能向上取, 题解列表 2024年03月16日 0 点赞 0 评论 537 浏览 评分: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 评论 518 浏览 评分: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 评论 516 浏览 评分:0.0
蓝桥杯算法提高VIP-剪刀石头布题解(c语言)最快 摘要:解题思路:通过做差确定谁输谁赢注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a=…… 题解列表 2024年03月16日 0 点赞 0 评论 775 浏览 评分:9.9
蓝桥杯2022年第十三届省赛真题-刷题统计 摘要:解题思路:先把能够算出整数个周期的week算出来,剩下的用求模和除法注意事项:参考代码:#include<stdio.h>int main(){ long long int a,b,n,week,nu…… 题解列表 2024年03月16日 0 点赞 0 评论 612 浏览 评分:0.0
【C语言题解/归并排序】编写题解 1674: 数据结构-有序线性表的有序合并 ```#include#includetypedefstructUnion{intdata;structUnion*next;}*node,Node;//创建集合nodecreat(int);//获取集合的第i个元素intGetElem(node, 题解列表 2024年03月16日 0 点赞 0 评论 646 浏览 评分:0.0
1332: 津津的储蓄计划 摘要:参考代码:estimate = [int(input()) for i in range(12)] #预算 amount = 0 #零花钱 bank = [] flag = True …… 题解列表 2024年03月16日 0 点赞 0 评论 514 浏览 评分:0.0
数据结构-八进制数 摘要:解题思路:注意事项:参考代码:while True: try: n = int(input()) oct_num = oct(n) print(oct_…… 题解列表 2024年03月16日 0 点赞 0 评论 613 浏览 评分:0.0
1147: C语言训练-角谷猜想 摘要:参考代码:n = int(input()) while n != 1: n = int(n) if n % 2 == 0: print(f"{n}/2={int…… 题解列表 2024年03月16日 1 点赞 0 评论 784 浏览 评分:0.0
1075: 台球碰撞(绝对牛逼!!!) 摘要:解题思路:注意事项:解析请看这里: https://blog.dotcpp.com/a/63859参考代码:#include <iostream>#include <cmath>#include <…… 题解列表 2024年03月16日 0 点赞 0 评论 792 浏览 评分:8.0