题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c ; int x,y,z ; …… 题解列表 2024年01月18日 0 点赞 0 评论 238 浏览 评分:9.9
题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ for(int i=100; i<=999; i++…… 题解列表 2024年01月18日 0 点赞 0 评论 141 浏览 评分:9.9
题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,sn=0,sum=1; …… 题解列表 2024年01月18日 1 点赞 0 评论 167 浏览 评分:9.9
题解 1141: C语言训练-百钱百鸡问题 摘要:暴力破解法是指从可能的解集合(空间)中一一列举各情况,用题目给定的检验条件判定哪些是没用的,哪些是有用的。能使命题成立的值,即为问题的解。基本思路:(1)确定问题的可能解的范围(可能解的空间)。(2)…… 题解列表 2024年01月18日 0 点赞 0 评论 201 浏览 评分:9.9
简单方法求解数组插入处理 摘要:解题思路:由题可知,输入的数据是有序的,需要把第二次输入的数据按顺序插入到第一次的数据中则可用一个数组来接收第一次输入的数据,再用循环挨个比较输出第一次接收的数据与第二次接接收的数据的大小若第一次数据…… 题解列表 2024年01月18日 0 点赞 0 评论 322 浏览 评分:9.9
计算线段长度C语言 摘要:解题思路:勾股定理注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ double xa,ya,xb,yb; scanf("%l…… 题解列表 2024年01月18日 0 点赞 0 评论 211 浏览 评分:9.9
1141: C语言训练-百钱百鸡问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i,j,k; for(i=0;i<=100;i++…… 题解列表 2024年01月18日 0 点赞 0 评论 166 浏览 评分:9.9
题解 2831: 画矩形(简) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,m,x; char c…… 题解列表 2024年01月18日 0 点赞 0 评论 160 浏览 评分:9.9
2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,m,x; char c…… 题解列表 2024年01月18日 0 点赞 0 评论 150 浏览 评分:9.9
题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年01月18日 0 点赞 0 评论 549 浏览 评分:9.9