题解列表
数组插入处理c语言题解
摘要:解题思路:1.定义数组和数字2.提取数组和数字3.按一定顺序打印数组和数字意事项:参考代码:#include<stdio.h>int main(){ int ch[10],n; //定义输入的……
汽水瓶(Python)核心就是函数的套娃调用,注意每次套娃的结果保存
摘要:解题思路: 函数调用 套娃注意事项: 最后要结束的时候,代码过程中调用函数 num = calcute(n,num) 执行完毕后,还会继续执行后面的代码参考代码:def calcute(n,num……
递归与递推的解法(c++)
摘要:解题思路:本题解有两种解题思路,利用递推与递归的解决方法主要公式:f(n) = f(n - 1) + f(n - 3)注意事项:另外递归的方法对于本题时间要求是超时的,仅供参考学习参考代码:递推:#i……
编写题解 1062: 二级C语言-公约公倍
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int m = 0, n = 0, i = 1;
int x = 0, y = 0;
i……
编写题解 1061: 二级C语言-计负均正
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int num[20];
int i = 0, j = 0, z = 0;
double……
骗 过 上 帝 的 方 法
摘要:解题思路:首先注意事项:然后参考代码:#includeint main(){ int a,b=1; scanf("%d",&a); printf("%d",b); return……
编写题解 1060: 二级C语言-同因查找
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int i = 0;
for(i = 10; i <= 1000; i++)
{
……
2256: 蓝桥杯算法提高-成绩排名
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>typedef struct score{ char name[100]; int sc; }sco……
编写题解 1671: 小九九
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int i = 0, j = 0;
for(i = 1; i <= 9; i++)
……