蓝桥杯基础练习VIP-龟兔赛跑预测 (C++代码)很简单得一道题 摘要:解题思路:注意事项:我开始以为T事兔子R事乌龟然后只过了34(把题读好才是真的)参考代码:#include<bits/stdc++.h> using namespace std; int v1,v…… 题解列表 2019年03月30日 0 点赞 0 评论 833 浏览 评分:0.0
思路比较简单,简洁代码(C语言代码) 摘要:解题思路:如果是字符串的话,可能会有所改变参考代码:#include<stdio.h>int main(){ int a[9]; for(int i=0;i<10;i++) …… 题解列表 2019年03月30日 1 点赞 0 评论 758 浏览 评分:0.0
(递归)数列问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"long a[50];int n;long dfs(int);int main(){ scanf("%d",&n); a[1]=3; …… 题解列表 2019年03月30日 0 点赞 0 评论 870 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.3 (C语言代码) 摘要:解题思路: 一维数组的解法注意事项:参考代码:int main() { int i; int arr[20]; for (i = 0; i < 9; i += 3) scanf("…… 题解列表 2019年03月30日 0 点赞 0 评论 778 浏览 评分:0.0
蓝桥杯算法提高VIP-Torry的困惑(提高型) (C++代码)题的意思有点坑 摘要:解题思路:题的意思是好多个素数的积,然而开始我以为是前好多个素数的积注意事项:参考代码#include<bits/stdc++.h> using namespace std; long long …… 题解列表 2019年03月30日 0 点赞 0 评论 660 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码)调用函数 摘要:解题思路:新手第一次写调用函数的注意事项:参考代码:#include<stdio.h> char fun(int m,char a[100],int n) { int i; for(i=m…… 题解列表 2019年03月31日 0 点赞 0 评论 576 浏览 评分:0.0
蓝桥杯算法提高VIP-乘法运算 (C++代码)水一波 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int a,b; int l,p; int m…… 题解列表 2019年03月31日 0 点赞 0 评论 852 浏览 评分:0.0
蓝桥杯算法提高VIP-任意年月日历输出 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int a[13]={0,31,28,31,30,…… 题解列表 2019年03月31日 0 点赞 0 评论 831 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { char c1,c2,c3,c4,c5; cin>…… 题解列表 2019年03月31日 0 点赞 0 评论 704 浏览 评分:0.0
AC-题解1074:数字整除 (C语言代码) 摘要:解题思路:该题的关键在于从字符串末尾迭代到只剩最开头3位,如果最终运算结果被17整除,则输出1以str="31041231"为例,最开始时计算23-1*5,最末尾计算str[0]~str[3]注意事项…… 题解列表 2019年04月01日 1 点赞 0 评论 861 浏览 评分:0.0