1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:这里要比较六次参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >> a>>…… 题解列表 2023年12月17日 0 点赞 0 评论 242 浏览 评分:4.7
JAVA 糖果游戏升级版 摘要:解题思路:如果换成动态的n,不指定5 可能 6 7 8 9用数组来存储数据,先判断加减后是否超过左边界或者右边界如果超出进行数组下标调整注意事项:参考代码:import java.util.Sca…… 题解列表 2023年12月17日 0 点赞 0 评论 218 浏览 评分:4.7
vhgnghlkjhgfdsdfftghjkl;lkjhgfrde 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,w,b; cout<<"体重…… 题解列表 2024年01月07日 0 点赞 1 评论 210 浏览 评分:4.7
3044: 电池的寿命 摘要:解题思路:当n等于2时,返回最小值, 当n大于2时,返回和的一半注意事项:返回最小值时将整数转化为浮点数,以保留一位小数参考代码:#include#include#includeusing names…… 题解列表 2024年02月13日 0 点赞 3 评论 247 浏览 评分:4.7
题解 2809: 菲波那契数列 摘要:解题思路:注意事项:参考代码:k = int(input()) a1 = a2 = 1 for i in range(k - 2): a1, a2 = a2, a1 + a2 prin…… 题解列表 2024年03月17日 0 点赞 0 评论 367 浏览 评分:4.7
3150-冶炼金属-简单易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); int a,b; scanf("%d %d",&a…… 题解列表 2024年03月24日 0 点赞 0 评论 383 浏览 评分:4.7
编写题解 2848: 基因相关性,python超简单 摘要:(python学子仔细读题哦)n = float(input()) DNA1 = input() DNA2 = input() # 比对两条DNA序列 matching_pairs = 0 …… 题解列表 2024年03月29日 0 点赞 0 评论 646 浏览 评分:4.7
数字诗意(找规律) 摘要:解题思路:有诗意的数注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm>using namespace std;typede…… 题解列表 2024年04月16日 0 点赞 0 评论 1191 浏览 评分:4.7
蓝桥杯2024年第十五届省赛真题-前缀总分 摘要:```cpp #include #include using namespace std; int n; int lcp(const string &a,const stri…… 题解列表 2024年11月10日 2 点赞 0 评论 1460 浏览 评分:4.7
求s=a+aa+aaa+aaaa+aa...a的值(C++简单版) 摘要:```cpp #include using namespace std; int main(){ int a, n; cin >> a >> n; unsigne…… 题解列表 2024年11月23日 0 点赞 0 评论 420 浏览 评分:4.7