蓝桥杯基础练习VIP-矩阵乘法-题解(C++代码) 摘要:参考代码:#include<iostream> using namespace std; int **Init_arr(int n) //初始化二维数组 { int **arr; a…… 题解列表 2021年01月28日 0 点赞 0 评论 643 浏览 评分:0.0
蓝桥杯基础练习VIP-矩形面积交-题解(C++代码) 摘要:参考代码:#include<iostream> #include<cmath> #include<algorithm> #include<iomanip> using namespace st…… 题解列表 2021年01月28日 0 点赞 0 评论 447 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b[100]; int i,j=0; gets(a)…… 题解列表 2021年01月29日 0 点赞 0 评论 427 浏览 评分:0.0
[编程入门]自定义函数之数字分离-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void szfl(int n){ int a,b,c,d; a=n%10; b=n/10%10; c=n/100%10; d=n/10…… 题解列表 2021年01月29日 0 点赞 0 评论 464 浏览 评分:0.0
奇数个数-题解(Java代码) 摘要:import java.util.Scanner; public class Main { /** * @param args * T1989 */ publi…… 题解列表 2021年01月29日 0 点赞 0 评论 867 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h># define N 80char *MyStract(char *a,char *b);int main(){ char c[2*N…… 题解列表 2021年01月29日 0 点赞 0 评论 555 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h># define N 80int main(){ char a[N],b[N]=""; //b[…… 题解列表 2021年01月29日 0 点赞 0 评论 378 浏览 评分:0.0
[编程入门]分段函数求值-题解(C语言代码) 摘要:解题思路:解题思路:分段函数一般用if···else if···函数,如果想要看别的思路,可以看看别的题解参考代码:#include <stdio.h> int main() { …… 题解列表 2021年01月29日 0 点赞 0 评论 441 浏览 评分:0.0
蓝桥杯算法训练-动态数组使用-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cstdio>using namespace std;bool compare…… 题解列表 2021年01月29日 0 点赞 0 评论 561 浏览 评分:0.0
蓝桥杯算法提高VIP-和最大子序列-题解(C语言代码) 摘要:解题思路:最关键的一点在于子序列求和和求最大值:如果前边的数加上这个数的和还没这个数大,则舍弃前边的数,并从这个数开始重新开始求和。但是注意要记录前边数(即没加这个数之前)的最大值。注意事项: 1.刚…… 题解列表 2021年01月29日 0 点赞 0 评论 541 浏览 评分:0.0