编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,a,b,c,d,e,y; scanf("%5d",&x); a=x/10000; …… 题解列表 2023年03月20日 0 点赞 0 评论 413 浏览 评分:0.0
python dfs爆搜 简单理解 摘要:解题思路:一号操作,二号操作都实行通过搜索找到最大值,但是二号操作变不到9就不要用了注意事项:参考代码:n,a,b=map(int,input().split())n=list(str(n))s=[]…… 题解列表 2023年03月20日 0 点赞 0 评论 829 浏览 评分:0.0
vector解决报数问题 摘要:解题思路: vector添加和删减元素 形成循环队列注意事项:参考代码:#include<iostream>#include<vector>using namespace std;int main()…… 题解列表 2023年03月20日 0 点赞 0 评论 388 浏览 评分:0.0
题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int main(){ int i,n; char a[n]; gets(a); …… 题解列表 2023年03月20日 0 点赞 0 评论 454 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 摘要:解题思路:设置d=b*b-4*a*c注意事项:d<0时,x1、x2转换的数值类型参考代码:def g(a,b,c): d=b*b-4*a*c if d >0: x1 = (…… 题解列表 2023年03月20日 0 点赞 0 评论 374 浏览 评分:0.0
蓝桥杯算法提高VIP-十进制数转八进制数 摘要:```c #include void zhuan8(int a); int main() { int n; scanf("%d",&n); zhuan8(n); retur…… 题解列表 2023年03月20日 0 点赞 0 评论 491 浏览 评分:0.0
更相减损法 c++ 摘要:解题思路:更相减损法注意事项:参考代码:#include <iostream>using namespace std;int main() { int a,b; cin>>a>>b; int m = …… 题解列表 2023年03月20日 0 点赞 0 评论 364 浏览 评分:0.0
蓝桥杯基础练习-十六进制转十进制(简单) 摘要:用输入输出格式符来解题 ```c #include int main() { long int a; scanf("%X",&a); printf("%d\n…… 题解列表 2023年03月20日 0 点赞 0 评论 614 浏览 评分:0.0
暴力出奇迹 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ struct date { int year; int mouth; int day; }a; scanf…… 题解列表 2023年03月20日 0 点赞 0 评论 308 浏览 评分:0.0