数列(python 100分) 摘要:解题思路:这道题其实就是进制转换,将输入第二位的数字换成二进制再换成你输入第一个数的进制,我用的bin()函数(转换二进制快捷方式)但必须得用切片将前两位给抹除。注意事项:这代码看着应该没什么问题,除…… 题解列表 2023年12月05日 0 点赞 0 评论 266 浏览 评分:0.0
蓝桥杯算法提高-数组求和 摘要:// 禁止在 Visual Studio 中出现 scanf 的安全警告 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int m…… 题解列表 2023年12月05日 1 点赞 0 评论 295 浏览 评分:9.9
题解 2751: 超级玛丽游戏 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" ********"<…… 题解列表 2023年12月05日 0 点赞 0 评论 197 浏览 评分:8.5
题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a/b…… 题解列表 2023年12月05日 0 点赞 0 评论 410 浏览 评分:9.9
编写题解 2809: 菲波那契数列 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int k,b=1,c=1,s=0; cin>>k; for(int i…… 题解列表 2023年12月05日 0 点赞 0 评论 186 浏览 评分:0.0
蓝桥杯算法提高VIP-数组替换 摘要:// 禁止在 Visual Studio 中出现 scanf 的安全警告 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> // 函数…… 题解列表 2023年12月05日 0 点赞 0 评论 281 浏览 评分:9.9
题目1951:求平方和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,s,d,f;cin >> s;cin >> a;d…… 题解列表 2023年12月05日 0 点赞 0 评论 224 浏览 评分:0.0
计算鞍点——使用三个列表 摘要:解题思路:一个列表放每一行的最大值,一个列表放这一行最大数值的列数,一个放每一列的最小值。然后判断这一行的最大值与最大值所在列数的最小值是否相等,相等的话输出行列数。注意事项:参考代码:a = [li…… 题解列表 2023年12月05日 0 点赞 0 评论 227 浏览 评分:2.0
随便写 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main (String[] arg…… 题解列表 2023年12月05日 0 点赞 0 评论 255 浏览 评分:7.3
c语言简单解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n,min=0,max=0,sum=0; double av; scanf("%d",&n);…… 题解列表 2023年12月05日 0 点赞 0 评论 333 浏览 评分:9.9