题解 1018: [编程入门]有规律的数列求和

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

易理解的方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int N;    scanf("%d",&N);    float i,m=2.0,n=1.0,sum=……

[编程入门]有规律的数列求和

摘要:解题思路:注意事项:        想复杂了参考代码:#includeint main() {   float i=2.0,j=1.0,k,J,n,N;     scanf("%f",&N); ……

1018递归解法(Python)

摘要:注意事项:只关注上、下两数的关系即可参考代码:N = int(input())output = 0times = 0def count_sum(up_data, down_data) :    glo……