python--study||O.o 摘要:参考代码:n, m = map(int, input().split()) arr = [[int(num) for num in input().split()] for _ in range(n…… 题解列表 2024年04月16日 0 点赞 0 评论 335 浏览 评分:0.0
猴子吃桃,递归解决 摘要:解题思路:注意事项:参考代码://猴子吃桃#include <stdio.h> void peach(int x,int p){ if(x==1)printf("%d",p); else peac…… 题解列表 2024年04月16日 0 点赞 0 评论 292 浏览 评分:0.0
编写题解 1062: 二级C语言-公约公倍 摘要:解题思路:注意事项:参考代码:o = input().split() if len(o) >= 2: m, n = int(o[0]), int(o[1]) min = min(…… 题解列表 2024年04月16日 0 点赞 0 评论 381 浏览 评分:0.0
编写题解 1671: 小九九 摘要:解题思路:注意事项:参考代码:for i in range(1, 10): for j in range(1, i + 1): print("%.d*%.d=%.d" %(…… 题解列表 2024年04月16日 0 点赞 0 评论 832 浏览 评分:0.0
仅两个变量解决交换值 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年04月16日 0 点赞 0 评论 907 浏览 评分:0.0
数字诗意(找规律) 摘要:解题思路:有诗意的数注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm>using namespace std;typede…… 题解列表 2024年04月16日 0 点赞 0 评论 1342 浏览 评分:4.7
利润计算(运用for循环解决) 摘要:解题思路:先计算输入的数处于哪个挡位,然后根据挡位计算输出值,可以使代码更加简洁,并不需要写很多数放在上面,看着就会很头疼注意事项:后面乘以1000是为了保证算出来的数为整数,因为比例是小数,这里我用…… 题解列表 2024年04月16日 0 点赞 0 评论 410 浏览 评分:9.9
python--study||O.o 摘要:参考代码:n = int(input()) res = 1 for i in range(1, n + 1): res *= i print(res)…… 题解列表 2024年04月16日 0 点赞 0 评论 835 浏览 评分:0.0
高精度处理,注意进制 摘要:#### 题目描述 小蓝最近在研究一种浮点数的表示方法:R 格式。对于一个大于 0 的浮点数 d,可以用 R 格式的整数来表示。给定一个转换参数 n,将浮点数转换为 R格式整数的做法是: …… 题解列表 2024年04月16日 9 点赞 0 评论 1581 浏览 评分:9.8
第十五届蓝桥杯JavaB组省赛-分布式队列 摘要:# MarkDown编辑器基本使用说明 ## 吐槽一下: > 我吐槽一下这个数据,我原本队列最小的那一部分是直接比较所有副队列最小值的,况且按照我这个逻辑副队列的元素个数不可能大于主队列,但是所给…… 题解列表 2024年04月16日 7 点赞 2 评论 1485 浏览 评分:9.9