蓝桥杯2023年第十四届省赛真题-子串简写(Java代码) 摘要:本文仅供参考理解解题思路,a、b、c、d、e、f输出皆正确,但提交错误。 a、b、c、d、e均为时间超限,其中a、b、c为95分; d是c的简化版,但为0分; e有两种思路c1和c2可以调换先后…… 题解列表 2023年12月19日 0 点赞 0 评论 659 浏览 评分:9.9
2850: 输出亲朋字符串 摘要:``` #include using namespace std; const int N=100010; int main(){ string a,b; getline(cin,a)…… 题解列表 2023年12月19日 0 点赞 0 评论 169 浏览 评分:9.9
编写题解 2808: 买房子 摘要:解题思路:注意事项:参考代码:N, K = map(int, input().split()) money = N price = 200 for i in range(2, 23): …… 题解列表 2023年12月19日 1 点赞 2 评论 409 浏览 评分:7.3
题解 2850: 输出亲朋字符串 摘要: #include using namespace std; const int N=100000; int main() { string…… 题解列表 2023年12月19日 0 点赞 0 评论 156 浏览 评分:0.0
903: 不高兴的津津 摘要:``` #include using namespace std; const int N=110; int a[N] ,b[N]; int main() { int t = 0; …… 题解列表 2023年12月19日 0 点赞 0 评论 159 浏览 评分:0.0
2847: 找第一个只出现一次的字符 摘要:``` #include using namespace std; const int N=10010; char s[N]; int cnt[26]; int main(){ cin…… 题解列表 2023年12月19日 0 点赞 0 评论 203 浏览 评分:0.0
题解 2847: 找第一个只出现一次的字符 摘要: #include using namespace std; const int N=100000; char a[N]; int cnt[26]; …… 题解列表 2023年12月19日 0 点赞 0 评论 253 浏览 评分:9.9
2846: 统计数字字符个数 摘要:``` #include using namespace std; int main(){ int cnt=0; string s; getline(cin,s); for(in…… 题解列表 2023年12月19日 0 点赞 0 评论 193 浏览 评分:0.0
JAVA题解2949-----oooooooo 摘要:解题思路:下标,累加注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[…… 题解列表 2023年12月19日 0 点赞 0 评论 221 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=300;int main(){ int sum=0; str…… 题解列表 2023年12月19日 0 点赞 0 评论 167 浏览 评分:0.0