小白随便写的,记录一下 摘要:看不懂可以看看这个视频:https://www.bilibili.com/video/BV1uA411N7c5?p=56&vd_source=a90641eb5a4eed71d3374febc12dd…… 题解列表 2024年03月24日 0 点赞 0 评论 217 浏览 评分:0.0
ISBN码--string 摘要:解题思路:按位计算得到检验码,与之比较参考代码:#include<bits/stdc++.h> using namespace std; void solve(){ int sum = 0…… 题解列表 2024年03月24日 0 点赞 0 评论 165 浏览 评分:0.0
1635(c语言解法) 摘要:解题思路: 1.创建数组 2.指针指向数组3.每拿到一个数据指针就往后移注意事项:参考代码:#include<stdio.h>#define maxsize 10int main(){ i…… 题解列表 2024年03月24日 0 点赞 0 评论 179 浏览 评分:0.0
使用递归,轻松拿下 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;string t;int ans=0; bool dfs(int x,int y){ if(x…… 题解列表 2024年03月24日 0 点赞 0 评论 284 浏览 评分:0.0
考虑进去0和1 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ //判断一个数是否是素数 …… 题解列表 2024年03月24日 0 点赞 0 评论 211 浏览 评分:0.0
快速幂模板,java 摘要:参考代码: import java.math.BigInteger; import java.util.Scanner; public class Main { public stat…… 题解列表 2024年03月24日 0 点赞 0 评论 197 浏览 评分:0.0
2236: 蓝桥杯算法训练-大小写转换 摘要:参考代码:s = list(input()) for i in range(len(s)): if s[i].isupper(): s[i] = s[i].lower()…… 题解列表 2024年03月24日 0 点赞 0 评论 480 浏览 评分:0.0
辗转相除法求最小公倍数 摘要: #include #include int min_gbs(int n,int m) { int t; while(n%m) …… 题解列表 2024年03月24日 0 点赞 0 评论 216 浏览 评分:0.0
小白随便写的,记录一下 摘要:```python def select_sort(li): n = len(li) for i in range(n): # 多一次循环 for j in …… 题解列表 2024年03月24日 0 点赞 0 评论 295 浏览 评分:0.0
小白随便写的,记录一下 摘要:```python # 利用map函数和list把输入转为int型列表 li = list(map(int, input().split())) li.sort() # 利用内置函数进行排序…… 题解列表 2024年03月24日 0 点赞 0 评论 206 浏览 评分:0.0