题目1951:求平方和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,s,d,f;cin >> s;cin >> a;d…… 题解列表 2023年12月05日 0 点赞 0 评论 213 浏览 评分:0.0
二级C语言-温度转换--java语言 摘要:解题思路:①导入Scanner②输入华氏度③输出摄氏度④保留两位小数注意事项:①导入②数据类型为浮点型(float)③输出带两位小数(%.2f)参考代码:import java.util.Scanne…… 题解列表 2023年12月05日 0 点赞 0 评论 148 浏览 评分:0.0
等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include <stdio.h>main(){ int a1,a2,n,sum=0,d; scanf("%d%d%d",&a1,&a2,&n); d…… 题解列表 2023年12月05日 0 点赞 0 评论 129 浏览 评分:0.0
结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct sjb { int year; int month; int day;} sj;int main(){ int sum =…… 题解列表 2023年12月05日 0 点赞 0 评论 429 浏览 评分:0.0
选择排序1023 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){void sort(int array[],int n);int a[10],i;for(i=0;i<10;i+…… 题解列表 2023年12月05日 0 点赞 0 评论 154 浏览 评分:0.0
1012字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){char c;int letters=0,space=0,dight=0,other=0;while((c=ge…… 题解列表 2023年12月05日 0 点赞 0 评论 173 浏览 评分:0.0
1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,s,d,f;cin >> s;cin >> a;d…… 题解列表 2023年12月05日 0 点赞 0 评论 218 浏览 评分:0.0
简单易懂,求圆的面积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){double a,d;cin >> a;d=a*a*3.141…… 题解列表 2023年12月05日 0 点赞 0 评论 513 浏览 评分:0.0
二级C语言-等差数列 摘要:解题思路:利用高中学过的等差数列前n项和的公式:n*a+n*(n-1)*d/2即可解。其中a为第一项,d为公差,在这里a=2,d=3.注意事项:参考代码:#include<stdio.h> int m…… 题解列表 2023年12月05日 0 点赞 0 评论 176 浏览 评分:0.0
1034: [编程入门]自定义函数之数字分离 摘要:解题思路:1.只是喊每个数字后空一格,所以........注意事项:格式不能写错参考代码:#include<stdio.h>int main(){ char a[100]; int i; …… 题解列表 2023年12月05日 0 点赞 0 评论 110 浏览 评分:0.0