2847-找第一个只出现一次的字符-数组解法 摘要:注意事项: 找到只出现一次的字符,输出第一次出现的字符。 注意题目条件:用字符型数组储存输入的小写字母,用整形数组储存26个字母的出现次数输出第一次出现的字母 ```cpp #in…… 题解列表 2024年06月08日 0 点赞 0 评论 497 浏览 评分:9.9
1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime(ll x){ f…… 题解列表 2024年06月08日 0 点赞 1 评论 193 浏览 评分:9.9
题解 2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;typedef long long ll;ll maxx(ll a , ll b , ll c){ if( …… 题解列表 2024年06月08日 0 点赞 0 评论 175 浏览 评分:8.7
2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll myMax(ll a,ll b,l…… 题解列表 2024年06月08日 0 点赞 0 评论 133 浏览 评分:0.0
题解 1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll eee(ll a){ ll …… 题解列表 2024年06月08日 0 点赞 0 评论 131 浏览 评分:0.0
1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll man(ll a){ ll…… 题解列表 2024年06月08日 0 点赞 0 评论 163 浏览 评分:9.9
1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<bits/c++.h>using namespace std;int Reverse(char a[],char b[]){ int i=0,n;…… 题解列表 2024年06月08日 1 点赞 0 评论 483 浏览 评分:9.9
1108守望者的逃离(dp动态规划) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;long long M;//魔法初值long long S;//出口距离long long T…… 题解列表 2024年06月07日 0 点赞 0 评论 248 浏览 评分:0.0
1107纪念品分组(sort排序加指针移动) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;bool cmp(int p1, int p2){ re…… 题解列表 2024年06月07日 0 点赞 0 评论 166 浏览 评分:0.0
1106奖学金(sort排序) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;//这里注意一下书写的顺序,不然也会出现调用上的错误st…… 题解列表 2024年06月07日 0 点赞 0 评论 374 浏览 评分:0.0