[编程入门]结构体之时间设计 2种解法 摘要:未运用结构体#include struct Date{ int nian; int yue; int ri; }; int main() { int a=0,m,n,i,j; s…… 题解列表 2021年10月14日 0 点赞 0 评论 396 浏览 评分:9.9
蓝桥杯基础练习VIP-FJ的字符串(Python-递归解法) 摘要:解题思路:找到规律f(n)=f(n-1)+chr(n-1+65)+f(n-1)注意事项:参考代码:def func(n): if n==1: return 'A' …… 题解列表 2021年10月14日 0 点赞 0 评论 661 浏览 评分:9.9
1027: [编程入门]自定义函数处理最大公约数与最小公倍数-题解(python代码) 摘要:解题思路:注意事项:参考代码:a,b = map(int,input().split())if b>a: a,b = b,am = a*bdef maximum(a,b): while T…… 题解列表 2021年10月14日 0 点赞 1 评论 861 浏览 评分:9.9
二级C语言-自定义函数 摘要:#include<stdio.h> int main(){ double x,n,l,k,m,sum=0,y,z; double fact(double n); double mypow…… 题解列表 2021年10月14日 0 点赞 0 评论 689 浏览 评分:9.9
二级C语言-阶乘公式求职 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ double n,k,b,c; scanf("%lf",&n); double fact(dou…… 题解列表 2021年10月14日 0 点赞 0 评论 361 浏览 评分:9.9
A+B for Input-Output Practice (II) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,m,i,j; int a[100]; scanf("%d",&n); for(m…… 题解列表 2021年10月14日 0 点赞 0 评论 688 浏览 评分:9.9
题目 1465: 蓝桥杯基础练习VIP-回形取数(C++循环解决) 摘要: #include using namespace std; #define IOS ios::sync_with_stdio(false); const int inf = 0x3f…… 题解列表 2021年10月14日 0 点赞 0 评论 454 浏览 评分:9.9
[编程入门]最大公约数与最小公倍数--小白的题解(C语言代码) 摘要:解题思路:纯小白,入坑几个星期(有错误请谅解) 一个非常简单容易理解的方法.先接受两个数(当然是废话)然后判断接受的两个数大小关系为什么要判断?因为最大公约数小于大的那个数以此来限制接下来for循环的…… 题解列表 2021年10月14日 0 点赞 0 评论 457 浏览 评分:9.9
编写题解 2629: 数学题(快速幂解法) 摘要:typedef long long ll; #include <iostream> using namespace std; ll fast_pwoer(ll base,ll index,ll …… 题解列表 2021年10月15日 0 点赞 0 评论 812 浏览 评分:9.9
C语言考试练习题_保留字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ int m,n,i,j; char a[80]; get…… 题解列表 2021年10月15日 0 点赞 0 评论 389 浏览 评分:9.9