感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,x,y,z=0,maxx=0; ci…… 题解列表 2023年07月09日 0 点赞 0 评论 166 浏览 评分:0.0
完数的判断-解题(C语言代码) 摘要:解题思路:首先我们需要知道什么是完数?完数是指一个数的所有真因子之和等于该数本身,例如6是一个完数,因为6的真因子有1、2、3,而1+2+3=6。然后我们需要考虑的是一个数的真因子怎么求?我的思路是将…… 题解列表 2023年07月09日 0 点赞 0 评论 208 浏览 评分:0.0
优质题解 [编程入门]利润计算C语言代码 摘要:解题思路:注意事项:1.10w可以写成科学计数法1e5,注意e前面的1不能省略,因为e前必须得有数字2.只有int型变量才可以和1%(即带百分号的数字,比如7.5%啊等等)相乘3.答案要求输出精度为个…… 题解列表 2023年07月10日 0 点赞 0 评论 783 浏览 评分:0.0
题解 1001: [编程入门]第一个HelloWorld程序(仅需一行) 摘要:解题思路:在Python中print打印结束后会自动换行(\n),因此只需写三次print即可。其次在Python中可以使用“字符串” * 次数,来表达重复的“字符串”。还有(\n)也是换行的意思。注…… 题解列表 2023年07月10日 1 点赞 0 评论 243 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; double p=1,q=2,s…… 题解列表 2023年07月10日 0 点赞 0 评论 297 浏览 评分:0.0
密码(c++),利用string 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstring> using namespace std; bool an(string s){ i…… 题解列表 2023年07月11日 0 点赞 0 评论 125 浏览 评分:0.0
求分数序列和题解 摘要:解题思路:#include<bits/stdc++.h>#include<iomanip>using namespace std;int main(){ int n; double a=1.0…… 题解列表 2023年07月11日 0 点赞 0 评论 194 浏览 评分:0.0
N以内累加求和 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main() { int N,sum = 0; cin >> N; for …… 题解列表 2023年07月11日 0 点赞 0 评论 145 浏览 评分:0.0
aaaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c,n; cin>>a>>b>>n…… 题解列表 2023年07月11日 0 点赞 0 评论 186 浏览 评分:0.0
求小数的某一位 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,n,c; cin>>a>>b>>n; for…… 题解列表 2023年07月11日 0 点赞 0 评论 185 浏览 评分:0.0