题解 2754: 其他基本数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ bool a; char b; cout<<sizeof(…… 题解列表 2023年12月23日 0 点赞 0 评论 415 浏览 评分:9.9
题解 2752: 整型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; short b; cout<<size…… 题解列表 2023年12月23日 0 点赞 0 评论 537 浏览 评分:9.9
题解 2769: 计算并联电阻的阻值 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double r1,r2; …… 题解列表 2023年12月23日 0 点赞 0 评论 301 浏览 评分:9.9
题解 2768: 与圆相关的计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double r; scanf("%lf",&r); pr…… 题解列表 2023年12月23日 0 点赞 0 评论 631 浏览 评分: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 评论 499 浏览 评分:9.9
题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月23日 0 点赞 0 评论 375 浏览 评分:9.9
初学者也能看懂的,有注释的超简单计算鞍点! 摘要:解题思路:对于这道题,我们首先来理清一下思路。首先,此题中鞍点的定义是在二维数组中,有一个数,它是所在行的最大值,并且是所在列的最小值。那么我们的主体步骤就是: 1、求出一行中的最大值 ;…… 题解列表 2023年12月23日 4 点赞 0 评论 681 浏览 评分:10.0
蓝桥杯算法训练VIP-字符删除(这题给做笑了,是会玩空格的) 摘要:解题思路:最好用gets收取输入,因为%s不收取空格,会导致后面收取输入失败,不得不说,这坑是真有意思注意事项:参考代码:#include<stdio.h> int main() { char…… 题解列表 2023年12月22日 0 点赞 0 评论 275 浏览 评分:0.0
小矛盾的结构体统计之成绩统计2 C语言 摘要:解题思路: 只关注了大概要掌握的 输入与输出的例子告诉 输入是整型,输出也是 输入 第一行次数 &nbs 题解列表 2023年12月22日 0 点赞 0 评论 289 浏览 评分:0.0
根据整数的各个位数情况即可判断是否发生进位 摘要:个位数为3,4,5,6,7,8,9时 i+(i+1)+(i+2)一定会发生进位非个位数为4,5,6,7,8,9时 i+(i+1)+(i+2)一定会发生进位参考代码:#include<stdio…… 题解列表 2023年12月22日 0 点赞 0 评论 386 浏览 评分:0.0