有详细解题思考方向,执果索因, 随便写啦 摘要:解题思路: 观察题目给出的具体输出例子,有正三角形,倒三角形,空格(正三角形前面有空格,两个三角形中间也有空格)先分别写一下正三角形和倒三角形输出代码,要求两个代码限制循环的条件相同,用具体的例子,然…… 题解列表 2024年11月13日 1 点赞 0 评论 164 浏览 评分:0.0
高中不会的题现在终于解决了!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i; float a,b,m,n; scanf("%f…… 题解列表 2024年11月13日 0 点赞 0 评论 101 浏览 评分:0.0
看不懂直接喷 摘要:解题思路:对于换行符的完美运用注意事项:参考代码:#include <stdio.h>int main() { float i,a; scanf("%f",&a); for(i=0;i<1;i++){…… 题解列表 2024年11月13日 0 点赞 0 评论 420 浏览 评分:6.0
1106: 奖学金 ——sort 摘要:解题思路:注意事项:sort() 函数用于对容器中的元素进行排序,而排序的规则则由一个比较函数来定义。这个比较函数通常会传入两个元素(在我们的例子中是学生对象),并返回一个布尔值定义了一个 compa…… 题解列表 2024年11月13日 5 点赞 0 评论 455 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float x=1,y=1,a; int b,i; scanf("%d",&b); fo…… 题解列表 2024年11月13日 0 点赞 0 评论 234 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,i,j,s; scanf("%d",&a); for(i=2;i<=a;i++) …… 题解列表 2024年11月13日 0 点赞 0 评论 173 浏览 评分:0.0
简单算法,易理解 摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))c=a[0]d=a[1]t=0while d%c!=0: t=d%c c=d d=tpr…… 题解列表 2024年11月13日 2 点赞 0 评论 260 浏览 评分:9.9
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int b,c,d,i; for(i=100;i<1000;i++)…… 题解列表 2024年11月13日 0 点赞 0 评论 413 浏览 评分:0.0
代码如下: 摘要:解题思路: 太简单了注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main() { string s; int…… 题解列表 2024年11月13日 0 点赞 0 评论 163 浏览 评分:0.0
加工生产调度 摘要: //这类生产加工题型记住了 #include using namespace std; const int N=10001; struct node{ …… 题解列表 2024年11月13日 0 点赞 0 评论 210 浏览 评分:0.0