蓝桥杯2016年第七届真题-路径之谜(DFS) 摘要:```cpp #include using namespace std; const int N = 21; int topCount[N]; int leftCount[N]; bo…… 题解列表 2022年08月16日 1 点赞 0 评论 556 浏览 评分:10.0
题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:主函数输入字符串,output函数进行格式处理和输出。参考代码:#include<stdio.h> #include<string.h> int output(char a[],in…… 题解列表 2022年08月17日 0 点赞 4 评论 322 浏览 评分:9.9
猴子吃桃的问题(C语言代码) 摘要:解题思路: 阅读题目可知,每一天的桃子被吃数量都为前一天的一半加一,到了最后一天(第N天)还有1个。 重点在最后一天还有一个,代表最后一天没有吃,可用数学的倒推思维,第N天…… 题解列表 2022年08月17日 0 点赞 0 评论 454 浏览 评分:0.0
二级C语言-温度转换 摘要:ctof是一个自定义的函数,它在这起到了一个温度转换的作用。而在主函数中要通过改变摄氏度的值,重复计算对应的华氏度的值。 参考代码: ```cpp #include using names…… 题解列表 2022年08月17日 0 点赞 0 评论 695 浏览 评分:9.9
二级C语言-寻找矩阵最值 摘要:```cpp #include using namespace std; int main() { int n,a[7][7],i,j,max,c,s; cin>>n; …… 题解列表 2022年08月17日 0 点赞 2 评论 480 浏览 评分:9.9
二级C语言-成绩归类 摘要:```cpp #include using namespace std; int main() { int a=0,b=0,c=0,n; do { …… 题解列表 2022年08月17日 0 点赞 0 评论 1394 浏览 评分:9.9
二级C语言-阶乘公式求值 摘要:```cpp #include #include using namespace std; long long n; double a[1000],sum=0; void fact(int…… 题解列表 2022年08月17日 0 点赞 0 评论 517 浏览 评分:9.9
汽水瓶(c++纯代码) 摘要:```cpp #include using namespace std; int qishui(int w) { int m=w/3,n=w%3,x,y,sum=0; wh…… 题解列表 2022年08月17日 0 点赞 0 评论 346 浏览 评分:9.9
弟弟的作业 摘要:```c #include int main() { int a,b,c,k,count=0; char x; while(~(k=scanf("%d%c%d=%d…… 题解列表 2022年08月17日 0 点赞 0 评论 701 浏览 评分:9.9
1074: 数字整除 摘要:```cpp #include #include using namespace std; int main() { char m[1050]; int h; …… 题解列表 2022年08月17日 1 点赞 0 评论 456 浏览 评分:9.9