编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); int sum1=0; int sum2=0…… 题解列表 2022年08月31日 0 点赞 0 评论 127 浏览 评分:0.0
1015——————求和训练 摘要: a,b,c = map(int,input().split()) s = 0 for i in range(1,a+1): s = s+i #…… 题解列表 2022年09月06日 0 点赞 0 评论 190 浏览 评分:0.0
编写题解 1015:求和训练 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2022年09月29日 0 点赞 0 评论 146 浏览 评分:0.0
1015-求和训练 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;typedef long long LL;LL sum(int a){ LL res=0; f…… 题解列表 2022年10月04日 0 点赞 0 评论 120 浏览 评分:0.0
用递归实现[编程入门]求和训练c++ 摘要:解题思路:注意事项:参考代码#include#include#includeusing namespace std;int sum01(int n){ if(n==0||n==1){ …… 题解列表 2022年10月10日 0 点赞 0 评论 177 浏览 评分:0.0
求 和 训 练 摘要: #include #include using namespace std; int main() { int a, b, c; …… 题解列表 2022年10月10日 0 点赞 0 评论 127 浏览 评分:0.0
1015: [编程入门]求和训练 摘要:解题思路:用递归写 怎么样注意事项:参考代码:#include<stdio.h>int main(){ float a,b,c; scanf("%f %f %f",&a,&b,&c); float f…… 题解列表 2022年10月15日 0 点赞 0 评论 133 浏览 评分:0.0
C语言 求和训练& 摘要:解题思路://见注释注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int num_sum = 0, square_sum = 0;…… 题解列表 2022年10月16日 0 点赞 0 评论 137 浏览 评分:0.0
题目 1015: [编程入门]求和训练—常规求解方法 摘要:解题思路:3个for循环相加注意事项:把变量进行赋值时,不仅需要注意把值赋给另一个变量后的类型,还需要注意式子运算时的类型参考代码:#include<stdio.h> #include<math.h…… 题解列表 2022年10月20日 0 点赞 0 评论 533 浏览 评分:0.0
调用数学函数库求解 摘要:解题思路:先输入三个数字,依次求解累加注意事项:注意不要把小数点丢了,这是一个小细节。参考代码:#include<stdio.h> #include<math.h> int main() { …… 题解列表 2022年10月29日 0 点赞 0 评论 119 浏览 评分:0.0