[编程入门]Sn的公式求和------递归-----(python) 摘要:解题思路:用递归算出aaaaaa,for循环将它们相加注意事项:参考代码:def num(i): if i == 1: return 2 else: retur…… 题解列表 2022年01月04日 0 点赞 0 评论 727 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ char sno[100]; char name[100]; int gread[3];};void i…… 题解列表 2022年01月04日 0 点赞 0 评论 551 浏览 评分:0.0
电报加密C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char letter[100]; gets(letter); for(in…… 题解列表 2022年01月04日 0 点赞 0 评论 593 浏览 评分:0.0
1871: 数学的图表 摘要:解题思路:注意事项:参考代码:while True: try: fz = [1] fm = [1] ls&nb 题解列表 2022年01月04日 0 点赞 0 评论 680 浏览 评分:0.0
1808: [编程基础]输入输出练习之精度控制1 摘要:无脑打印。保留几位小数这种还是 printf 好用。#include <bits/stdc++.h> using namespace std; int main(){ double …… 题解列表 2022年01月03日 0 点赞 0 评论 829 浏览 评分:9.9
1806: [编程基础]输入输出练习之第二个数字 摘要:无脑打印。#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin >> a >> …… 题解列表 2022年01月03日 0 点赞 0 评论 592 浏览 评分:0.0
1072:汽水题 C++简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,x,s; while(cin>>n&&n) …… 题解列表 2022年01月03日 0 点赞 0 评论 517 浏览 评分:9.9
简单方法解决 摘要:解题思路:注意事项:防止数据溢出设置数据类型要准确参考代码:#include<stdio.h>int main(){ long long int F[1000],n;//注意要设置成longlong整…… 题解列表 2022年01月03日 0 点赞 0 评论 599 浏览 评分:0.0
01背包(Java代码) 摘要:解题思路: 用动态规划算法参考代码:import java.util.Scanner; public class 背包02 { public static void main(Strin…… 题解列表 2022年01月03日 0 点赞 0 评论 744 浏览 评分:9.9
简单易懂C语言-自定义函数 摘要:解题思路:注意事项:阶乘函数参数n需定义为double类型,否则会出现答案错误50%参考代码:#include <stdio.h> int main() { double mypow(double…… 题解列表 2022年01月03日 0 点赞 0 评论 653 浏览 评分:9.9