2191: Little Xie's issue(C语言) 注意:1.数组开大点#include#includeintmain(){chars[1000];gets(s);intlen=strlen(s);for(inti=0;i 题解列表 2022年03月03日 0 点赞 0 评论 544 浏览 评分:0.0 编写题解 2606: 蓝桥杯2021年第十二届省赛真题-左孩子右兄弟 摘要:#include<iostream> #include<vector> using namespace std; int N; int t; vector<int> v[1000000]; …… 题解列表 2022年03月03日 0 点赞 0 评论 1464 浏览 评分:8.0 编写题解 1050: [编程入门]结构体之成绩记录(C语言简单代码) 摘要:解题思路:注意事项: 结构体数组参考代码:#include<stdio.h>#include<stdlib.h>struct student //声明结构体{ char …… 题解列表 2022年03月03日 0 点赞 0 评论 624 浏览 评分:0.0 蓝桥杯2020年第十一届省赛真题-八次求和-java 摘要:解题思路:举例: (2+5+7+9)%3=2转换》》 2%3=2, 5%3=2, 7%3=1, 9%3=02+2+1+0=5%3=2 都能得到2,但是,万一2+2+1+0加起来的数超过了l…… 题解列表 2022年03月03日 0 点赞 0 评论 1022 浏览 评分:9.9 平均值计算 摘要:参考代码:#include<stdio.h>int main(){ int a[10],i,count=0,sum=0; for(i=0;i<10;i++){ scanf("…… 题解列表 2022年03月03日 0 点赞 0 评论 665 浏览 评分:0.0 2194: 蓝桥杯2018年第九届真题-递增三元组 暂时没想到好方法,见谅。#include#includeintmain(){intn,i,j,k,Aarr[1000],Barr[1000],Carr[1000];longlongcount=0;scanf("%d",&n);for(inti=0;i 题解列表 2022年03月03日 0 点赞 0 评论 611 浏览 评分:0.0 自定义函数之数字后移----最简单 摘要:解题思路:注意事项:参考代码:a=int(input())b=list(map(int,input().split()))c=int(input())d=[]for i in range(c): …… 题解列表 2022年03月03日 0 点赞 0 评论 556 浏览 评分:0.0 dp实现_十二届省赛真题-左孩子右兄弟 摘要:dpi]代表以i为根节点的最高高度;c[i]:为i的孩子数;f[i]:为i的父亲注意事项:参考代码:#include<bits/stdc++.h> using namespace std; lon…… 题解列表 2022年03月03日 0 点赞 0 评论 1113 浏览 评分:9.9 C++代码,01背包做法 摘要:解题思路:注意事项:参考代码:简单01背包#include <iostream>using namespace std;const int N=10010;int a[N];int w[N];int …… 题解列表 2022年03月03日 0 点赞 0 评论 744 浏览 评分:9.9 C++代码,01背包做法 摘要:解题思路:注意事项:参考代码:这题原本是一道基本的 01 背包 , 动态规划 。只需将价格与重要度提前算好 , 再套模板即可 。代码如下 :#include<bits/stdc++.h>//万能头文件…… 题解列表 2022年03月03日 0 点赞 0 评论 1133 浏览 评分:9.9 « 12...3505350635073508350935103511...59085909 »
编写题解 2606: 蓝桥杯2021年第十二届省赛真题-左孩子右兄弟 摘要:#include<iostream> #include<vector> using namespace std; int N; int t; vector<int> v[1000000]; …… 题解列表 2022年03月03日 0 点赞 0 评论 1464 浏览 评分:8.0
编写题解 1050: [编程入门]结构体之成绩记录(C语言简单代码) 摘要:解题思路:注意事项: 结构体数组参考代码:#include<stdio.h>#include<stdlib.h>struct student //声明结构体{ char …… 题解列表 2022年03月03日 0 点赞 0 评论 624 浏览 评分:0.0
蓝桥杯2020年第十一届省赛真题-八次求和-java 摘要:解题思路:举例: (2+5+7+9)%3=2转换》》 2%3=2, 5%3=2, 7%3=1, 9%3=02+2+1+0=5%3=2 都能得到2,但是,万一2+2+1+0加起来的数超过了l…… 题解列表 2022年03月03日 0 点赞 0 评论 1022 浏览 评分:9.9
平均值计算 摘要:参考代码:#include<stdio.h>int main(){ int a[10],i,count=0,sum=0; for(i=0;i<10;i++){ scanf("…… 题解列表 2022年03月03日 0 点赞 0 评论 665 浏览 评分:0.0
2194: 蓝桥杯2018年第九届真题-递增三元组 暂时没想到好方法,见谅。#include#includeintmain(){intn,i,j,k,Aarr[1000],Barr[1000],Carr[1000];longlongcount=0;scanf("%d",&n);for(inti=0;i 题解列表 2022年03月03日 0 点赞 0 评论 611 浏览 评分:0.0 自定义函数之数字后移----最简单 摘要:解题思路:注意事项:参考代码:a=int(input())b=list(map(int,input().split()))c=int(input())d=[]for i in range(c): …… 题解列表 2022年03月03日 0 点赞 0 评论 556 浏览 评分:0.0 dp实现_十二届省赛真题-左孩子右兄弟 摘要:dpi]代表以i为根节点的最高高度;c[i]:为i的孩子数;f[i]:为i的父亲注意事项:参考代码:#include<bits/stdc++.h> using namespace std; lon…… 题解列表 2022年03月03日 0 点赞 0 评论 1113 浏览 评分:9.9 C++代码,01背包做法 摘要:解题思路:注意事项:参考代码:简单01背包#include <iostream>using namespace std;const int N=10010;int a[N];int w[N];int …… 题解列表 2022年03月03日 0 点赞 0 评论 744 浏览 评分:9.9 C++代码,01背包做法 摘要:解题思路:注意事项:参考代码:这题原本是一道基本的 01 背包 , 动态规划 。只需将价格与重要度提前算好 , 再套模板即可 。代码如下 :#include<bits/stdc++.h>//万能头文件…… 题解列表 2022年03月03日 0 点赞 0 评论 1133 浏览 评分:9.9 « 12...3505350635073508350935103511...59085909 »
自定义函数之数字后移----最简单 摘要:解题思路:注意事项:参考代码:a=int(input())b=list(map(int,input().split()))c=int(input())d=[]for i in range(c): …… 题解列表 2022年03月03日 0 点赞 0 评论 556 浏览 评分:0.0
dp实现_十二届省赛真题-左孩子右兄弟 摘要:dpi]代表以i为根节点的最高高度;c[i]:为i的孩子数;f[i]:为i的父亲注意事项:参考代码:#include<bits/stdc++.h> using namespace std; lon…… 题解列表 2022年03月03日 0 点赞 0 评论 1113 浏览 评分:9.9
C++代码,01背包做法 摘要:解题思路:注意事项:参考代码:简单01背包#include <iostream>using namespace std;const int N=10010;int a[N];int w[N];int …… 题解列表 2022年03月03日 0 点赞 0 评论 744 浏览 评分:9.9
C++代码,01背包做法 摘要:解题思路:注意事项:参考代码:这题原本是一道基本的 01 背包 , 动态规划 。只需将价格与重要度提前算好 , 再套模板即可 。代码如下 :#include<bits/stdc++.h>//万能头文件…… 题解列表 2022年03月03日 0 点赞 0 评论 1133 浏览 评分:9.9