蓝桥杯算法提高VIP-3000米排名预测(C++语言) 摘要:#include<iostream> using namespace std; //存储每次递归后对应的排列情况 int a[12]; //标记数组 vis[12]; //存储围观党的判…… 题解列表 2022年02月14日 0 点赞 0 评论 707 浏览 评分:9.9
[编程入门]自定义函数之字符串连接,简单粗暴,通俗易懂。看一眼就懂 摘要:解题思路:前段时间看到大家对这题有争议,这次我来一无脑解法注意事项:注意把多于的0跳过参考代码:#include<stdio.h>#include<string.h>int main(){ cha…… 题解列表 2022年02月13日 0 点赞 0 评论 630 浏览 评分:7.3
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 评论 322 浏览 评分: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 评论 357 浏览 评分: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 评论 396 浏览 评分:0.0
1026: [编程入门]数字逆序输出 摘要:解题思路:逆序 easy注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i; for(i=0;i<10;i++) …… 题解列表 2022年02月13日 0 点赞 0 评论 314 浏览 评分: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 评论 302 浏览 评分:0.0
日期排序(代码有点长,但很好理解) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Day{ int year; int month; int day;};int main(){ struct Day s[…… 题解列表 2022年02月13日 0 点赞 0 评论 413 浏览 评分:0.0
python-剪格子 摘要:解题思路:bfs。先强调一点,题目是先输入的列数,后输入的行数,不要搞反了。①求出所给矩阵的和,如果和为奇数,无法分割。如果和为偶数,进行下一步。②从第0行第0列开始进行深度搜索。如果搜索到某一个数值…… 题解列表 2022年02月13日 0 点赞 0 评论 453 浏览 评分: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 评论 284 浏览 评分:0.0