计算行列式-题解(C++代码) 摘要:解题思路:先将行列式转化为三角形行列式参考代码:#include<iostream> using namespace std; const int N = 7; double arr[N][…… 题解列表 2022年02月25日 0 点赞 0 评论 480 浏览 评分:0.0
蓝桥杯算法提高VIP-Torry的困惑(提高型)——枚举 摘要:``` #include #include using namespace std; const int mod=5e4; bool prime(int x) { for (in…… 题解列表 2022年02月25日 1 点赞 0 评论 387 浏览 评分:0.0
不同单词个数统计 摘要:``` import java.util.HashSet; import java.util.Scanner; public class Demo1487 { public static…… 题解列表 2022年02月25日 0 点赞 0 评论 330 浏览 评分:0.0
三位数分解 摘要:解题思路:要找出个位,十位,百位参考代码:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d",&a); b=a/100;; …… 题解列表 2022年02月25日 0 点赞 1 评论 739 浏览 评分:8.9
编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:要考虑数据的溢出,结果和中间变量都要考虑数据大小;注意事项:参考代码:import java.util.Scanner;public class Main { public static v…… 题解列表 2022年02月25日 0 点赞 0 评论 277 浏览 评分:0.0
求长方形面积 摘要:#include<stdio.h>/*(长+宽)*2=周长 长*宽=面积*/int main(){int c,k;//定义长方形长变量为c,宽为变量kint C=0,S=0;//定义周长变量为C和…… 题解列表 2022年02月25日 0 点赞 2 评论 1132 浏览 评分:9.9
python-排列式 摘要:解题思路:分析:积、乘数1、乘数2,的位数之和为9如此积只能为4位数。一个四位数可以分解为:①一个1位数*一个4位数②一个2位数*一个3位数如果积不是4位数,那么积、乘数1、乘数2,的位数之和得不到9…… 题解列表 2022年02月25日 0 点赞 0 评论 403 浏览 评分:9.3
[编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;const int N = 100;char A[N];in…… 题解列表 2022年02月25日 0 点赞 0 评论 1423 浏览 评分:9.9
优质题解 python-找素数 摘要:解题思路:首先分析题目:问题1:数据较大,如果遍历依次判断素数的话,会超时。解决方法:埃拉托色尼筛选法。原文链接:https://blog.csdn.net/xiaoquantouer/article…… 题解列表 2022年02月25日 0 点赞 0 评论 734 浏览 评分:9.9
蓝桥杯历届试题-回文数字 Python!! 摘要:解题思路:利用循环嵌套实现对10000~999999的遍历而各位数之和,我们可以先将其转换为字符串然后遍历字符串,遍历过程中将元素转换回整形,并将其相加与记录最后用字符串的正逆序输出判断是否对称完成注…… 题解列表 2022年02月25日 0 点赞 0 评论 322 浏览 评分:0.0