数据结构用栈实现进制转换 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <malloc.h>#define MAXSIZE 100typedef struct{ int data[MAXS…… 题解列表 2024年11月07日 0 点赞 0 评论 137 浏览 评分:0.0
2828: 与7无关的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int t=0,i,n,sum=0; scanf("%d",&n);…… 题解列表 2024年11月07日 0 点赞 0 评论 149 浏览 评分:0.0
3行解决,使用count计数函数 摘要:解题思路:用count函数读取空格数量,再存入变量b,在加1完成注意事项:参考代码:# 1505a = input()b = a.count(" ",0,len(a)) + 1print(b)…… 题解列表 2024年11月07日 0 点赞 0 评论 212 浏览 评分:9.9
c语言中双精度绝对值的函数 摘要:解题思路:计算浮点型绝对值使用fabs函数,原型:double fabs(double x)计算整数绝对值使用abs函数,原型:int abs(int x)计算长整型绝对值使用labs函数,原型:lo…… 题解列表 2024年11月07日 0 点赞 0 评论 233 浏览 评分:0.0
c语言中如何使用倍数(exp版) 摘要:解题思路:注意事项:使用倍数要使用math头文件本人在答案里使用了exp(x)意思是e的x倍数,p是大家常用pow的意思,负数前面加个-就可以了,注意使用scanf参考代码:#include<stdi…… 题解列表 2024年11月07日 0 点赞 0 评论 369 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int L,M; cin>>L>>M; …… 题解列表 2024年11月07日 1 点赞 0 评论 293 浏览 评分:0.0
信息学奥赛一本通T1589-不要 62 数位dp 摘要: #include using namespace std; int l,r; int f[11][11]; void init(){ …… 题解列表 2024年11月07日 0 点赞 0 评论 222 浏览 评分:9.9
不开long long 见祖宗#2656: 蓝桥杯2022年第十三届省赛真题-刷题统计 摘要:``` #define _CRT_SECURE_NO_WARNINGS 1 #include #include #include #include #include #include …… 题解列表 2024年11月07日 1 点赞 0 评论 637 浏览 评分:9.0
简单模拟 # 2576: 蓝桥杯2020年第十一届省赛真题-解码 摘要:``` #define _CRT_SECURE_NO_WARNINGS 1 #include #include #include #include #include #include …… 题解列表 2024年11月07日 0 点赞 0 评论 126 浏览 评分:9.9
经典递归练习汉诺塔 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; void hhh(int n,int A=1,int B=2,int C=3…… 题解列表 2024年11月07日 1 点赞 0 评论 400 浏览 评分:0.0