2825: 计算多项式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double x,a,sum = 0;//要复出值 …… 题解列表 2024年01月18日 0 点赞 0 评论 380 浏览 评分:0.0
用更相减损术求解最大公约数与最小公倍数 摘要:解题思路:用辗转相除法求最大公约数已经写过了 利用递归与数学方法求解最大公约数与最小公倍数问题-Dotcpp编程社区这次使用更相减损术求解最大公约数求解此题,求解此题需要明白两点:1、更相减损术:拿…… 题解列表 2024年01月18日 0 点赞 0 评论 622 浏览 评分:9.9
简单方法实现数字逆序输出 摘要:解题思路:创建数组存储数据,利用两个for循环即可实现第一个for循环:用于拿到用户输入的10个数字,存入数组第二个for循环:倒着输出创建的数组注意事项:参考代码:#include<iostream…… 题解列表 2024年01月18日 0 点赞 0 评论 732 浏览 评分:0.0
2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,m,x; char c…… 题解列表 2024年01月18日 0 点赞 0 评论 383 浏览 评分:9.9
题解 2831: 画矩形(简) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,m,x; char c…… 题解列表 2024年01月18日 0 点赞 0 评论 429 浏览 评分:9.9
2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,d; char c; c…… 题解列表 2024年01月18日 0 点赞 1 评论 410 浏览 评分:2.0
1141: C语言训练-百钱百鸡问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i,j,k; for(i=0;i<=100;i++…… 题解列表 2024年01月18日 0 点赞 0 评论 377 浏览 评分:9.9
题解 2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,d; char c; cin>>a…… 题解列表 2024年01月18日 0 点赞 0 评论 418 浏览 评分:0.0
[编程入门]迭代法求平方根 摘要:解题思路: 注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main() { double x1 , x2 , k; cin >> k…… 题解列表 2024年01月18日 0 点赞 0 评论 511 浏览 评分:0.0
1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,b,c; for(in…… 题解列表 2024年01月18日 0 点赞 0 评论 398 浏览 评分:0.0