C语言训练-"水仙花数"问题2 摘要:解题思路: 难点主要在各位数字表示注意事项:注意for循环位置参考代码:#include<stdio.h>int main(){ int b,c,d; int i; for(i=100;i<999;i…… 题解列表 2022年01月07日 0 点赞 1 评论 1059 浏览 评分:6.0
1849: 成绩等级转换 摘要:```python l=[] for i in range(4): m=int(input()) l.append(m) for i in l: if i>=90 …… 题解列表 2022年01月09日 0 点赞 0 评论 813 浏览 评分:6.0
编写题解 2246: 蓝桥杯算法训练-字符串合并 摘要:解题思路:注意事项:参考代码:a=input()b=input()s=""for i in a: s+=ifor j in b: s+=jprint(s)…… 题解列表 2022年01月10日 0 点赞 0 评论 468 浏览 评分:6.0
纯dfs求解-剪格子 摘要:```cpp #include using namespace std; const int N=10; int a[N][N],vis[N][N]; int m,n; int dis[…… 题解列表 2022年01月12日 0 点赞 4 评论 389 浏览 评分:6.0
3n+1—(c++) 摘要:解题思路: 其实这题的思路就是让他在两个数之间按照公式来回算,直到找到最大循环数,输出即可注意事项: 需要特别注意的就是两个数的数值,比如测试样例的值a和b,是1和10,我们习惯性的从1跑…… 题解列表 2022年01月13日 0 点赞 0 评论 622 浏览 评分:6.0
2083: 蓝桥杯基础练习-十进制转十六进制 摘要:解题思路:注意事项:参考代码:m = int(input()) st=hex(m)[2:] print(st.upper())…… 题解列表 2022年01月13日 0 点赞 0 评论 659 浏览 评分:6.0
1026: [编程入门]数字逆序输出 摘要:解题思路:简单注意事项:无参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,f,g,h,i,j; scanf("%d %d %d %d %d …… 题解列表 2022年01月13日 0 点赞 1 评论 325 浏览 评分:6.0
连续自然数和 (Java代码) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { Scan…… 题解列表 2022年01月13日 0 点赞 0 评论 544 浏览 评分:6.0
树状数组求解-求逆序对 摘要:```cpp #include #include using namespace std; #define lowbit(x) ((x) & -(x)) const int N=1e5+5;…… 题解列表 2022年01月14日 0 点赞 0 评论 938 浏览 评分:6.0
简单易懂的递归倒置字符数组 摘要:#include #include #include using namespace std; int n; string s; void swapalpha(int r,int l) {…… 题解列表 2022年01月16日 0 点赞 0 评论 528 浏览 评分:6.0