初学者也能看懂的,有注释的超简单计算鞍点! 摘要:解题思路:对于这道题,我们首先来理清一下思路。首先,此题中鞍点的定义是在二维数组中,有一个数,它是所在行的最大值,并且是所在列的最小值。那么我们的主体步骤就是: 1、求出一行中的最大值 ;…… 题解列表 2023年12月23日 1 点赞 0 评论 465 浏览 评分:10.0
题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月23日 0 点赞 0 评论 261 浏览 评分:9.9
题解 1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2023年12月23日 0 点赞 0 评论 368 浏览 评分:9.9
题解 2768: 与圆相关的计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double r; scanf("%lf",&r); pr…… 题解列表 2023年12月23日 0 点赞 0 评论 481 浏览 评分:9.9
题解 2769: 计算并联电阻的阻值 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double r1,r2; …… 题解列表 2023年12月23日 0 点赞 0 评论 195 浏览 评分:9.9
题解 2752: 整型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; short b; cout<<size…… 题解列表 2023年12月23日 0 点赞 0 评论 406 浏览 评分:9.9
题解 2754: 其他基本数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ bool a; char b; cout<<sizeof(…… 题解列表 2023年12月23日 0 点赞 0 评论 259 浏览 评分:9.9
题解 2758: 打印ASCII码 摘要:解题思路:注意事项:参考代码:2758: 打印ASCII码知识点知识点1:强制类型转换我们都知道,数据类型有整型int、浮点型float、字符char等等。我们可以通过在变量前面加括号,对已有的类型进…… 题解列表 2023年12月23日 0 点赞 0 评论 242 浏览 评分:9.9
题解 2759: 打印字符 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; putchar(a);…… 题解列表 2023年12月23日 0 点赞 0 评论 261 浏览 评分:9.9
题解 2757: 浮点数向零舍 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ double n; cin>…… 题解列表 2023年12月23日 0 点赞 0 评论 328 浏览 评分:9.9