优质题解 自守数问题--C语言自建函数判断自守数详细讲解 摘要:`解题思路:` 从0开始遍历到200000,然后设计一个判断自守数函数`IsAutomorphicNumber` ,将遍历的每个数字 `num` 作为参数输入,在函数内部进行判断,将判断结果返回…… 题解列表 2023年12月18日 164 点赞 0 评论 3344 浏览 评分:7.7
C++宏三角形面积 简单易懂 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>#include <iomanip>#define area sqrt(s*(s-a)*(s-b)*…… 题解列表 2023年12月18日 0 点赞 0 评论 989 浏览 评分:0.0
C++宏练习 简洁易懂 摘要:解题思路:注意事项:参考代码:#include <iostream>#define yu(a,b) (a%b) using namespace std;int main(){ int a,b,c; c…… 题解列表 2023年12月18日 0 点赞 0 评论 271 浏览 评分:0.0
2849: 石头剪子布 摘要:``` #include using namespace std; const int N=110; int main(){ int T; cin>>T; while(T--){…… 题解列表 2023年12月18日 0 点赞 0 评论 399 浏览 评分:2.0
2849: 石头剪子布 摘要:``` #include using namespace std; const int N=110; int a[N],b[N]; int main(){ int T; cin>>…… 题解列表 2023年12月18日 0 点赞 0 评论 246 浏览 评分:9.9
题解 2849: 石头剪子布 摘要: #include using namespace std; const int N=110; int a[N][N],sum; int main() {…… 题解列表 2023年12月18日 0 点赞 0 评论 247 浏览 评分:2.0
看后五颗星,养成好习惯 ε≡٩(๑>₃<)۶ 一心向学 摘要:解题思路:下图可见注意事项:十分简单,自己思考,不许借鉴,人人有责参考代码:#include<iostream>using namespace std;int main(){ int a; cin >…… 题解列表 2023年12月18日 0 点赞 0 评论 316 浏览 评分:9.9
题解 2878: 计算矩阵边缘元素之和 摘要: #include using namespace std; const int N=110; int a[N][N],sum; int main() {…… 题解列表 2023年12月18日 0 点赞 0 评论 226 浏览 评分:0.0
2878: 计算矩阵边缘元素之和 摘要:``` #include using namespace std; const int N=110; int a[N][N]; int main(){ int n,m,sum=0; …… 题解列表 2023年12月18日 0 点赞 0 评论 155 浏览 评分:0.0
2878: 计算矩阵边缘元素之和 摘要:``` #include using namespace std; const int N=110; int a[N][N],b[N][N]; int main(){ int n,m,s…… 题解列表 2023年12月18日 0 点赞 0 评论 218 浏览 评分:0.0