蓝桥杯算法训练VIP-接水问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<cstdio> using namespace std; int n,m,w[10001],s[101],maxx;//定义 int main()…… 题解列表 2018年02月18日 7 点赞 5 评论 687 浏览 评分:9.5
蓝桥杯算法训练VIP-拦截导弹 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<cstdio> #include<cstring> int a[100005],d[100005],n; int lis1() { i…… 题解列表 2018年02月18日 4 点赞 0 评论 1293 浏览 评分:0.0
蓝桥杯算法训练VIP-入学考试 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int max(int a,int b)//手写max保险 { if(a…… 题解列表 2018年02月18日 0 点赞 0 评论 1152 浏览 评分:7.3
蓝桥杯算法训练VIP-传纸条 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n,m,a[52][52],f[52][52][52][52]; …… 题解列表 2018年02月18日 0 点赞 0 评论 1731 浏览 评分:2.0
P1029 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int max_match(string …… 题解列表 2018年02月18日 2 点赞 0 评论 1135 浏览 评分:2.0
简单的事情 (C语言代码) 摘要:解题思路: 公式。注意事项:注意范围。参考代码:#include<stdio.h>long long count(int n){ int i; long long s=1; for(i=n;i>0;i…… 题解列表 2018年02月18日 0 点赞 0 评论 754 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码)(简洁版) 摘要:解题思路:根据ascll码选择字符类型。注意事项:参考代码:/*输入一行字符,分别统计出其中英文字母、数字、空格和其他字符的个数*/#include<stdio.h>int zm=0,sz=0,kg=…… 题解列表 2018年02月18日 0 点赞 0 评论 1237 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码)(简洁版) 摘要:解题思路:注意事项:参考代码:/*写一函数,输入一个四位数字,要求输出这四个数字字符,但每两个数字间空格。如输入1990,应输出"1 9 9 0"。*/#include <stdio.h>#inclu…… 题解列表 2018年02月18日 0 点赞 0 评论 1070 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:/*写一函数,将一个字符串中的元音字母复制到另一个字符串,然后输出。*/#include <stdio.h>#include <string.h>int main(){ …… 题解列表 2018年02月18日 0 点赞 0 评论 1015 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:/*写一函数,使输入的一个字符串按反序存放,在主函数中输入输出反序后的字符串*/#include <stdio.h>#include <string.h> int mai…… 题解列表 2018年02月18日 0 点赞 0 评论 773 浏览 评分:0.0