表达式括号匹配-栈实现(作代码记录用) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define maxsize 255typedef struct{&nbs…… 题解列表 2025年02月16日 0 点赞 0 评论 317 浏览 评分:0.0
十-八进制转换(静态栈、数组实现,作代码记录用) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#define maxsize 100typedef struct{&nbs…… 题解列表 2025年02月16日 0 点赞 0 评论 129 浏览 评分:0.0
实数的打印 摘要:解题思路:注意事项:参考代码:#include<stdio.h>intmain(){floata,b;…… 题解列表 2025年02月16日 1 点赞 0 评论 251 浏览 评分:0.0
十-八进制转换(动态栈、数组实现,作代码记录用) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct{ int *data…… 题解列表 2025年02月16日 0 点赞 0 评论 155 浏览 评分:0.0
堆栈的使用(动态栈、数组实现,作代码记录用,注意输入读取及输出的格式) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct{ int *data…… 题解列表 2025年02月17日 0 点赞 0 评论 182 浏览 评分:0.0
常规解法使用map函数 摘要:解题思路:使用map函数注意事项:输入字符类型为float参考代码:x,a,b,c,d=map(float,input().split())fx=a*x**3+b*x**2+c*x+dprint(…… 题解列表 2025年02月17日 0 点赞 0 评论 324 浏览 评分:0.0
分解质因数 一种用素数判断 一种无需判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;//判断是否是素数bool check(int …… 题解列表 2025年02月17日 0 点赞 0 评论 165 浏览 评分:0.0
Python代码-报数问题 摘要:```pythonfrom collections import dequeif __name__ == '__main__': n = int(input()) qu…… 题解列表 2025年02月17日 0 点赞 0 评论 194 浏览 评分:0.0
Python代码-求矩阵的两对角线上的元素之和 摘要:```pythonif __name__ == '__main__': N = int(input()) nums = [] for i in range(N):…… 题解列表 2025年02月17日 0 点赞 0 评论 132 浏览 评分:0.0