[编程入门]完数的判断 摘要:解题思路: 双重循环找完数,并把每个因子储存到数组里面;注意事项:注意将数组和求和数据归零;参考代码:#include<bits/stdc++.h>using namespace std;int ma…… 题解列表 2024年01月18日 0 点赞 0 评论 177 浏览 评分:0.0
简单方法求解数组插入处理 摘要:解题思路:由题可知,输入的数据是有序的,需要把第二次输入的数据按顺序插入到第一次的数据中则可用一个数组来接收第一次输入的数据,再用循环挨个比较输出第一次接收的数据与第二次接接收的数据的大小若第一次数据…… 题解列表 2024年01月18日 0 点赞 0 评论 330 浏览 评分:9.9
1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,b,c; for(in…… 题解列表 2024年01月18日 0 点赞 0 评论 132 浏览 评分:0.0
[编程入门]迭代法求平方根 摘要:解题思路: 注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main() { double x1 , x2 , k; cin >> k…… 题解列表 2024年01月18日 0 点赞 0 评论 237 浏览 评分:0.0
计算线段长度C语言 摘要:解题思路:勾股定理注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ double xa,ya,xb,yb; scanf("%l…… 题解列表 2024年01月18日 0 点赞 0 评论 215 浏览 评分:9.9
题解 2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,d; char c; cin>>a…… 题解列表 2024年01月18日 0 点赞 0 评论 163 浏览 评分:0.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 评论 174 浏览 评分:9.9
2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,d; char c; c…… 题解列表 2024年01月18日 0 点赞 1 评论 177 浏览 评分:2.0
题解 2831: 画矩形(简) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,m,x; char c…… 题解列表 2024年01月18日 0 点赞 0 评论 169 浏览 评分:9.9
2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,m,x; char c…… 题解列表 2024年01月18日 0 点赞 0 评论 158 浏览 评分:9.9