幂的末尾 参考答案 摘要:解题思路:取幂后三位,每次只需保留积后三位即可;注意事项: 无参考代码:#include<iostream>using namespace std;int main() {int a,b,c = 0;…… 题解列表 2023年11月01日 0 点赞 0 评论 569 浏览 评分: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 评论 535 浏览 评分: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 评论 467 浏览 评分:0.0
优质题解 保姆级教程(冒泡排序) 摘要:解题思路:冒泡排序;1.写好交换函数和判断函数 2.在main函数中用new获取未知数组的大小并根据输入的数创建数组 …… 题解列表 2023年11月01日 0 点赞 0 评论 2062 浏览 评分:3.0
简简单单就解决直插排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>using namespace std;#define MAXSIZE 1005typedef …… 题解列表 2023年11月01日 0 点赞 0 评论 853 浏览 评分:0.0
C++类的思想题解 摘要:解题思路:使用类的思想,其他的就不说了别的地方都有写。注意事项:参考代码:#include<iostream>using namespace std;class Student {private: s…… 题解列表 2023年11月01日 0 点赞 0 评论 550 浏览 评分:0.0
超级简洁版 摘要:参考代码:#include<iostream>#include<algorithm>using namespace std;const int N =310;double a[N];int main(…… 题解列表 2023年10月31日 0 点赞 0 评论 530 浏览 评分:9.9
优质题解 题解 1096: Minesweeper 两个二维数组解决Minesweeper 简单易懂 (C++代码) 解题思路:使用二维数组解题为了不判断边界,将扫雷原本最大的范围30*16扩大为32*18将数组想象成平面上的直角坐标系我们从(1,1)这一点开始处理我们的数据为了简化运算少使用if语句从(1,1)开始可以保证我们在小边界(30*16)的每一个坐标旁边的九宫格范围内都可以进行直接的加一运算不需要考虑数组 题解列表 2023年10月31日 0 点赞 1 评论 920 浏览 评分:7.5
2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年10月31日 0 点赞 0 评论 495 浏览 评分:0.0
2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年10月31日 0 点赞 0 评论 425 浏览 评分:0.0