1131: C语言训练-斐波纳契数列 摘要:解题思路:递归注意事项:参考代码:#include<stdio.h>int main(){ int a[40]={1,1}; int i=0,N; scanf("%d",&N); for(i=…… 题解列表 2022年02月13日 0 点赞 0 评论 293 浏览 评分:0.0
1035: [编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void count(char s[]);int main() { char s[100]; gets(s); count(s); re…… 题解列表 2022年02月13日 0 点赞 0 评论 328 浏览 评分:0.0
1485: 蓝桥杯算法提高VIP-Torry的困惑(提高型)(C语言版) 摘要:```c #include void main() { long n; long long sum = 1; long time = 0; scanf("…… 题解列表 2022年02月13日 0 点赞 0 评论 365 浏览 评分:0.0
1026: [编程入门]数字逆序输出 摘要:解题思路:逆序 easy注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i; for(i=0;i<10;i++) …… 题解列表 2022年02月13日 0 点赞 0 评论 292 浏览 评分:0.0
1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[10]; int i=0; int t; for(i=0;i<9;…… 题解列表 2022年02月13日 0 点赞 0 评论 282 浏览 评分:0.0
日期排序(代码有点长,但很好理解) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Day{ int year; int month; int day;};int main(){ struct Day s[…… 题解列表 2022年02月13日 0 点赞 0 评论 389 浏览 评分:0.0
python-剪格子 摘要:解题思路:bfs。先强调一点,题目是先输入的列数,后输入的行数,不要搞反了。①求出所给矩阵的和,如果和为奇数,无法分割。如果和为偶数,进行下一步。②从第0行第0列开始进行深度搜索。如果搜索到某一个数值…… 题解列表 2022年02月13日 0 点赞 0 评论 415 浏览 评分:9.9
[编程入门]猴子吃桃的问题(猴子只吃N-1天桃) 摘要:解题思路:注意事项:参考代码:int main() { int a; scanf("%d", &a); int b = 1; for (int i = 1; i <a; i++…… 题解列表 2022年02月13日 0 点赞 0 评论 256 浏览 评分:0.0
战士的神盾(这题刚学C语言上课讲了,没想到想了好一会儿才写出来) 摘要: #include int main() { int n; scanf("%d",&n); for (int i = 0…… 题解列表 2022年02月13日 0 点赞 0 评论 637 浏览 评分:0.0
Hifipsysta-2030-树的中序遍历(C++代码)试了很多次终于搞定了 摘要:```cpp #include #include using namespace std; const int MAXN=2001; struct node{ int data…… 题解列表 2022年02月13日 0 点赞 0 评论 457 浏览 评分:0.0