2867: 单词的长度(python) 摘要:解题思路:注意事项:参考代码:s = list(input().strip().split()) l = [str(len(i)) for i in s] print(",".join(l))…… 题解列表 2023年02月26日 0 点赞 0 评论 473 浏览 评分:9.9
蓝桥杯历届试题-最大子阵 摘要:解题思路:一维和加最大子串和注意事项:参考代码:#include<iostream> #include<unordered_map> #include<vector> #include<dequ…… 题解列表 2023年02月26日 0 点赞 0 评论 359 浏览 评分:9.9
2869: 字符串最大跨距 摘要:解题思路:注意事项:参考代码:s,s1,s2 = input().strip().split(",") if s1 in s and s2 in s: a = s.index(s1) …… 题解列表 2023年02月26日 0 点赞 0 评论 337 浏览 评分:2.0
题解 3003: 鸡兔同笼问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int m, n, x, y;//m表示鸡的数量 n表示兔的数量 scanf("…… 题解列表 2023年02月26日 1 点赞 0 评论 650 浏览 评分:10.0
题解 2765: 计算分数的浮点数值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a = 0.0; int b = 0.0; double c = 0; scanf("%d %d", &…… 题解列表 2023年02月27日 0 点赞 0 评论 431 浏览 评分:0.0
题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a = 0; int b = 0; scanf("%d %d\n", &a, &b); printf("…… 题解列表 2023年02月27日 0 点赞 0 评论 343 浏览 评分:0.0
??????翻硬币,过了但一脸懵,这也能过???? 摘要:参考代码:import java.util.Scanner; public class 翻硬币 { public static void main(String[] args) { …… 题解列表 2023年02月27日 0 点赞 0 评论 392 浏览 评分:9.9
python解决复数求和问题 摘要:解题思路:首先输入行数,其中n代表几行其次定义变量,分别输入实部和虚部a,b最后对实部 虚部分别进行求和即可参考代码:n=int(input()) s,x=0,0 for _ in range(n…… 题解列表 2023年02月27日 0 点赞 0 评论 293 浏览 评分:0.0
LikeWater - 1068: 二级C语言-温度转换 摘要:```cpp #include using namespace std; // 输出一张摄氏一华氏温度转换表,摄氏温度的取值区间是[-100oC,150oC ], // 温度间隔5oC。要求定…… 题解列表 2023年02月27日 0 点赞 1 评论 264 浏览 评分:9.9
LikeWater - 1069: 二级C语言-寻找矩阵最值 摘要:```cpp #include #include using namespace std; // 输入一个正整数n (1≤ n ≤6),再输入一个n行n列的矩阵, // 找出该矩阵中绝对值最…… 题解列表 2023年02月27日 0 点赞 1 评论 234 浏览 评分:9.9