1257: 超级楼梯(动态规划入门) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ int T; cin >> T; w…… 题解列表 2024年07月13日 0 点赞 0 评论 169 浏览 评分:0.0
2236: 蓝桥杯算法训练-大小写转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string s…… 题解列表 2024年07月13日 0 点赞 0 评论 238 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string s…… 题解列表 2024年07月13日 0 点赞 0 评论 284 浏览 评分:0.0
题解 1644: 蓝桥杯算法训练VIP-最长字符串 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int maxx1=0; string maxx; for…… 题解列表 2024年07月13日 0 点赞 0 评论 147 浏览 评分:0.0
1644: 蓝桥杯算法训练VIP-最长字符串 摘要:```cpp #include using namespace std; typedef long long ll; int main() { string maxxstr; …… 题解列表 2024年07月13日 0 点赞 0 评论 132 浏览 评分:0.0
1644: 蓝桥杯算法训练VIP-最长字符串 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string m…… 题解列表 2024年07月13日 0 点赞 0 评论 142 浏览 评分:0.0
1584: 蓝桥杯算法训练VIP-判定字符位置 摘要:**题目描述:**返回给定字符串s中元音字母的首次出现位置。英语元音字母只有‘a’、‘e’、‘i’、‘o’、‘u’五个。若字符串中没有元音字母,则返回0。**只考虑小写的情况。** 直接上代码,一看…… 题解列表 2024年07月13日 0 点赞 0 评论 448 浏览 评分:9.9
1585: 蓝桥杯算法训练VIP-链表数据求和操作 摘要:**问题描述:**读入10个复数,建立对应链表,然后求所有复数的和。 **解题思路:** 1.创建链表 2.使用链表 3.销毁链表 代码如下: ```c #include #…… 题解列表 2024年07月13日 0 点赞 0 评论 375 浏览 评分:9.9
浮点数据类型大小 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; short b; printf("%d %d",sizeof(a),sizeof…… 题解列表 2024年07月14日 0 点赞 0 评论 223 浏览 评分:0.0
一行代码解决 摘要:print(len([i for i in list(map(int, input().split())) if i & (i - 1) == 0]) if input() else 0)…… 题解列表 2024年07月14日 4 点赞 3 评论 1445 浏览 评分:9.0