三个数找最大值 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Scanner;public class Main { public static…… 题解列表 2022年12月28日 0 点赞 0 评论 624 浏览 评分:0.0
2998: 电影票 摘要:##2998: 电影票 ```c #include int main() { int n; scanf("%d",&n); printf("%d %d",n,10*n); re…… 题解列表 2022年12月28日 0 点赞 0 评论 611 浏览 评分:0.0
2997: 梯形面积 #2997:梯形面积####直接算出答案输出就行了```c#includeintmain(){printf("400");return0;}``` 题解列表 2022年12月28日 0 点赞 2 评论 774 浏览 评分:6.5
1073: 弟弟的作业 摘要:##1073: 弟弟的作业 ###题目描述 你的弟弟刚做完了“100以内数的加减法”这部分的作业,请你帮他检查一下。每道题目(包括弟弟的答案)的格式为a+b=c或者a-b=c,其中a和b是作业中给…… 题解列表 2022年12月28日 0 点赞 0 评论 712 浏览 评分:0.0
C语言训练-排序问题<1>直接sort 摘要:解题思路:直接使用sort。注意事项:1.使用sort函数,需要头文件#include<algorithm>; 2.sort函数能直接实现数组元素从小到大排序; …… 题解列表 2022年12月28日 0 点赞 0 评论 592 浏览 评分:9.0
1984: 蓝桥杯算法提高VIP-求圆面积表面积体积 摘要:解题思路:printf格式控制,-20为左对齐 空格占位,.10lf小数点后十位参考代码:#include<bits/stdc++.h> using namespace std; int …… 题解列表 2022年12月28日 0 点赞 0 评论 706 浏览 评分:9.9
暴力解法(凑字数。。。。。。。 摘要:解题思路:注意事项:参考代码:n=list(input())m=n.copy()n.reverse()c=m+nfor i in c: print(i,end='')…… 题解列表 2022年12月28日 0 点赞 0 评论 568 浏览 评分:0.0
直接用python内置函数 摘要:解题思路:注意事项:参考代码:import mathfor i in range(1,40): if math.gcd(i,40)==1: print('%d/40'…… 题解列表 2022年12月28日 0 点赞 0 评论 533 浏览 评分:0.0
暴力解法(凑字数。。。。。。。 摘要:解题思路:注意事项:参考代码:def yinzi(n): sum=0 for i in range(1,n//2+1): if n %i==0: sum…… 题解列表 2022年12月28日 0 点赞 0 评论 624 浏览 评分:0.0
优质题解 字符串匹配问题(strs) ~~解题思路:~~~~1.你可以遍历输入的字符串中的每个字符,如果当前字符是左括号,就将其压入栈中。2.如果当前字符是右括号,就检查栈顶的元素是否与当前字符匹配。3.如果匹配,就将栈顶元素弹出栈。如果不匹配,就说明括号不匹配,可以立即返回"NO"。 题解列表 2022年12月28日 0 点赞 0 评论 1284 浏览 评分:9.9