A+B Problem 参考答案 摘要:解题思路:输入两个数。加起来。注意事项:加分号!参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin >>…… 题解列表 2023年11月01日 0 点赞 3 评论 143 浏览 评分:8.2
幂的末尾 参考答案 摘要:解题思路:取幂后三位,每次只需保留积后三位即可;注意事项: 无参考代码:#include<iostream>using namespace std;int main() {int a,b,c = 0;…… 题解列表 2023年11月01日 0 点赞 0 评论 245 浏览 评分:9.9
2767: 计算多项式的值 摘要:解题思路:先inta,b,c,d,x再带入就好注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c…… 题解列表 2023年11月01日 0 点赞 0 评论 282 浏览 评分:9.9
题解:1267: A+B Problem 摘要:解题思路:注意事项:不要打错参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<…… 题解列表 2023年11月01日 0 点赞 0 评论 203 浏览 评分:0.0
优质题解 保姆级教程(冒泡排序) 摘要:解题思路:冒泡排序;1.写好交换函数和判断函数 2.在main函数中用new获取未知数组的大小并根据输入的数创建数组 …… 题解列表 2023年11月01日 0 点赞 0 评论 1612 浏览 评分:3.8
简简单单就解决直插排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>using namespace std;#define MAXSIZE 1005typedef …… 题解列表 2023年11月01日 0 点赞 0 评论 435 浏览 评分:0.0
C++类的思想题解 摘要:解题思路:使用类的思想,其他的就不说了别的地方都有写。注意事项:参考代码:#include<iostream>using namespace std;class Student {private: s…… 题解列表 2023年11月01日 0 点赞 0 评论 209 浏览 评分:0.0
超级简洁版 摘要:参考代码:#include<iostream>#include<algorithm>using namespace std;const int N =310;double a[N];int main(…… 题解列表 2023年10月31日 0 点赞 0 评论 273 浏览 评分:9.9
优质题解 题解 1096: Minesweeper 两个二维数组解决Minesweeper 简单易懂 (C++代码) 摘要:解题思路:使用二维数组解题 为了不判断边界,将扫雷原本最大的范围30*16扩大为32*18 将数组想象成平面上的直角坐标系 我们从(1,1)这一点开始处理我们的数据 为了简化运算少使用if语句 从(1…… 题解列表 2023年10月31日 0 点赞 1 评论 588 浏览 评分:7.5
2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年10月31日 0 点赞 0 评论 209 浏览 评分:0.0