编写题解 2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b; int n; …… 题解列表 2022年09月02日 0 点赞 0 评论 397 浏览 评分:0.0
偶数求和(acm基础题) 摘要:解题思路:数组+分类讨论注意事项:参考代码:#include<stdio.h>int main(){ int n,m,sum=0,a[100],t,i; while(scanf("%d %d",&n,…… 题解列表 2022年09月02日 0 点赞 0 评论 418 浏览 评分:0.0
1004: [递归]母牛的故事 摘要:#include<stdio.h> int fun(int n){ if(n<=4) return n; else return fun(n-1)+fun(n-3)…… 题解列表 2022年09月02日 0 点赞 0 评论 311 浏览 评分:0.0
编写题解 1034: [编程入门]自定义函数之数字分离 显示格式错误??why??? 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void my_print(char a[]){ int i=0; while(a[i]…… 题解列表 2022年09月04日 0 点赞 0 评论 505 浏览 评分:0.0
编写题解 2281: 蓝桥杯2018年第九届真题-次数差 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { string s="abcdefghigklmn…… 题解列表 2022年09月04日 0 点赞 0 评论 392 浏览 评分:0.0
编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意题目要求,需要设计函数注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h…… 题解列表 2022年09月05日 0 点赞 0 评论 461 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路: 输入字符串→测量字符串的长度→反转:只需要将第一位和最后一位调换位置即可,依次类推→中止条件:左下标数等有右下标数;注意事项:参考代码:#include <stdio.h>#include…… 题解列表 2022年09月05日 0 点赞 0 评论 451 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>void fcn(char *arr1, char *ar…… 题解列表 2022年09月05日 0 点赞 0 评论 347 浏览 评分:0.0
2664: 蓝桥杯2022年第十三届省赛真题-求和 摘要:# 解题思路 拿部分分思维:直接按照规矩,两两相乘再相加: ````cpp #include using namespace std; const int maxn = 200005…… 题解列表 2022年09月05日 0 点赞 0 评论 1174 浏览 评分:0.0
二级C语言-同因查找 摘要:解题思路:可以分别对2 3 7取余再想与,也可以直接对42取余注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){int i;for(i=1…… 题解列表 2022年09月05日 0 点赞 0 评论 342 浏览 评分:0.0