计算某日在那年中是第几天(注意闰年) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct YMD{ int year; int month; int day;};int main(){ s…… 题解列表 2019年04月09日 0 点赞 0 评论 754 浏览 评分:0.0
1.头疼的工人 (C++代码) 摘要:解题思路:除2取余注意事项:超过100万的数,增加数组的大小。参考代码:#include<iostream>#include<cstdio>using namespace std;int a[20],…… 题解列表 2019年04月09日 1 点赞 0 评论 829 浏览 评分:2.0
【偶数求和】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[101]; int c[101]; int i,k; int n,m; …… 题解列表 2019年04月09日 0 点赞 0 评论 1140 浏览 评分:0.0
不容易系列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<string> #include<algorithm> using na…… 题解列表 2019年04月09日 1 点赞 0 评论 1005 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:解题思路:用递归和更相相减术解决问题注意事项:参考代码:#include<stdio.h>#include<math.h>static int gxxjs(int a, int b);int the_…… 题解列表 2019年04月08日 0 点赞 0 评论 690 浏览 评分:0.0
蓝桥杯历届试题-蚂蚁感冒 (C/C++语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cmath> using namespace std; int main() { int n; …… 题解列表 2019年04月08日 10 点赞 0 评论 1252 浏览 评分:6.0
优质题解 蓝桥杯历届试题-翻硬币 (C/C++代码)规律题 摘要:解题思路:这个题可以暴力求解,但是细微观察一下,题目是有规律可循的:(下面说说的翻转都是指依次翻转两个相邻的位置,同题目中的意思) 就用例子来说吧:0123456789***o***o***o*…… 题解列表 2019年04月08日 21 点赞 8 评论 3811 浏览 评分:9.1
蓝桥杯算法提高VIP-阶乘差 (C语言代码) 摘要:解题思路:就是一个阶乘的函数(递归),然后就带公式注意事项:long long类型要注意参考代码:#include<stdio.h>long long int jiec(long long int n…… 题解列表 2019年04月08日 1 点赞 0 评论 938 浏览 评分:0.0
查找最大元素 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "string.h"int main(){ char str[150]; memset(str,0,sizeof(s…… 题解列表 2019年04月08日 1 点赞 0 评论 1126 浏览 评分:0.0
23.树的中序遍历 (C++代码) 摘要:解题思路: 1.创建树 2.中序遍历 注意事项: 一定要读懂题,看清楚 i 表示什么!!! 参考代码: ```cpp #include #include using namespac…… 题解列表 2019年04月08日 0 点赞 0 评论 1499 浏览 评分:2.0