蓝桥杯算法训练VIP-字串统计(简单直白)python 摘要:解题思路:从第一位开始遍历,一个pase一组进行对比,对比成功(即出现重复子串),count+1。遍历至最后一位break,同时计入count数、本命子串位置及长度,方便后续对比输出。注意事项:参考代…… 题解列表 2024年03月12日 0 点赞 0 评论 193 浏览 评分:9.9
编写题解 2073: [STL训练]亲和串 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char arr[100] = { 0 }, ar[100] = { 0…… 题解列表 2024年03月12日 0 点赞 0 评论 223 浏览 评分:9.9
1146: C语言训练-舍罕王的失算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ unsigned long long int s=1,t=1;/…… 题解列表 2024年03月12日 1 点赞 0 评论 236 浏览 评分:9.9
1148: C语言训练-计算1977!* 摘要:解题思路: 利用数组进行大数计算注意事项: 没事的,背下来就好了!!!参考代码:#include<iostream>using namespace std;int main(){ i…… 题解列表 2024年03月12日 1 点赞 0 评论 318 浏览 评分:9.9
python 2803: 整数的个数 摘要:参考代码:k = int(input()) arr = map(int, input().split()) one, five, ten = 0, 0, 0 for i in arr: …… 题解列表 2024年03月12日 0 点赞 1 评论 363 浏览 评分:9.9
1159: 偶数求和(还不错) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,m; int num[100]; num…… 题解列表 2024年03月12日 1 点赞 0 评论 198 浏览 评分:9.9
求分数序列和 摘要:解题思路:斐波那契数列n-2项/n-1项目注意事项:输出格式参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin…… 题解列表 2024年03月12日 1 点赞 0 评论 202 浏览 评分:9.9
计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; float s=0.0; cin>>n; fl…… 题解列表 2024年03月12日 1 点赞 0 评论 224 浏览 评分:9.9
1160: 出圈(好东西哈) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring> //memset()必备using namespace std;in…… 题解列表 2024年03月12日 0 点赞 0 评论 190 浏览 评分:9.9
表达式括号匹配:c++ 摘要:#### 原题链接 [题目 3071: 表达式括号匹配(stack)](https://www.dotcpp.com/oj/problem3071.html?sid=15741963&lang=1#…… 题解列表 2024年03月13日 0 点赞 0 评论 668 浏览 评分:9.9