DNA-题解(C++代码) 摘要:解题思路:找规律注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a,b; cin>>n; w…… 题解列表 2020年12月04日 0 点赞 0 评论 846 浏览 评分:0.0
震宇大神的杀毒软件-题解(C++代码) 摘要:解题思路:利用sort注意事项:逆序输出参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ in…… 题解列表 2020年12月04日 1 点赞 0 评论 577 浏览 评分:0.0
蓝桥杯2018年第九届真题-调手表-题解(C++代码) 摘要:```cpp #include using namespace std; int a[100010]; int n,k,ans=-1; int bfs(){ queueq; q.p…… 题解列表 2020年12月04日 0 点赞 0 评论 836 浏览 评分:9.9
蓝桥杯2013年第四届真题-核桃的数量-题解(C++代码) 摘要:```cpp #include #include #include #include using namespace std; int ans=0; int main(){ int …… 题解列表 2020年12月03日 0 点赞 0 评论 542 浏览 评分:0.0
蓝桥杯基础练习-特殊回文数-题解(C++代码)代码简单不好吗~ 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int n; bool f(int x) { int m = x, s…… 题解列表 2020年12月03日 0 点赞 0 评论 777 浏览 评分:9.9
蓝桥杯2014年第五届真题-分糖果-题解(C++代码) 摘要:```cpp #include using namespace std; const int N=110; int a[N]; int n; bool check(){ int t=a…… 题解列表 2020年12月03日 0 点赞 0 评论 705 浏览 评分:0.0
蓝桥杯算法训练VIP-字符串的展开-题解(C++代码)那个最短的不行哈,我的代码全网最短。 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int p1,p2,p3,i=0,k; char ch[300],be,a…… 题解列表 2020年12月03日 1 点赞 0 评论 782 浏览 评分:9.9
[编程入门]自定义函数之整数处理-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10]={0},b=9999999,c=-100000,x=0,y=0…… 题解列表 2020年12月03日 0 点赞 1 评论 1645 浏览 评分:9.9
蟠桃记-题解(C++代码) 摘要:解题思路:找规律来推断通式注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; while(scanf("%d…… 题解列表 2020年12月01日 0 点赞 0 评论 553 浏览 评分:0.0
简单易懂,利用string字符类型(C++代码) 摘要:解题思路: 很简单的思路,利用字符串类型输入字符串s,利用for循环从s的第m-1个下标开始输出。注意事项: 注意,是从s的第m-1个下标开始输出,不是第m个下标。参考代码:#in…… 题解列表 2020年12月01日 0 点赞 0 评论 913 浏览 评分:9.9