1130: C语言训练-数字母 摘要:此题关键是使用isalpha()函数,注意读数据使用getline()。(尽管使用cin也能过)#include<bits/stdc++.h> using namespace std; int m…… 题解列表 2021年12月10日 0 点赞 0 评论 311 浏览 评分:0.0
蓝桥杯算法提高VIP-选择排序(C++) 非递归 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<cstdio> using namespace std; int …… 题解列表 2021年12月10日 0 点赞 0 评论 240 浏览 评分:0.0
1196: 去掉空格 摘要:关键是运用find()函数和erase()函数。#include<bits/stdc++.h> using namespace std; int main(){ vector<in…… 题解列表 2021年12月10日 0 点赞 0 评论 601 浏览 评分:0.0
编写题解 1067: 二级C语言-分段函数 摘要:解题思路:注意事项:#include<iostream>#include<cmath>using namespace std;int main(){ double x,y; cin>>x;…… 题解列表 2021年12月10日 0 点赞 0 评论 196 浏览 评分:0.0
蓝桥杯算法提高VIP-身份证排序 (C++) 摘要:解题思路: 数组比<vector>快一些#include<iostream> #include<algorithm> #include<vector> #include<cstdio> ty…… 题解列表 2021年12月10日 0 点赞 0 评论 407 浏览 评分:0.0
蓝桥杯算法提高VIP-插入排序 摘要:解题思路: 这题有问题注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; long long sum[200]…… 题解列表 2021年12月10日 0 点赞 0 评论 393 浏览 评分:0.0
关于蓝桥杯2014年第五届真题-分糖果问题c++结构清晰的解法 摘要:解题思路:关于糖果分配问题我将其分解为三个问题 1:检查每个人的糖果是否相等;2:将每个人的糖果补成偶数;3:分糖果;注意事项:因为最开始分配的糖果是偶数所以关于三个问题的顺序应该是先检查,后小朋友之…… 题解列表 2021年12月10日 0 点赞 0 评论 441 浏览 评分:0.0
优质题解 [ω] 最大子段乘积 摘要: 凑字数,不然发布出去凑字数,不然发布出去凑字数,不然发布出去凑字数,不然发布出去凑字数,不然发布出去凑字数,不然发布出去凑字数,不然发布出去凑字数,不然发布出去 …… 题解列表 2021年12月09日 0 点赞 4 评论 351 浏览 评分:9.9
日期排序vector 摘要:``` #include using namespace std; int cmp(string m,string n) { string a,b; a=m.substr(…… 题解列表 2021年12月09日 0 点赞 0 评论 462 浏览 评分:8.0
简单的a+b(c++代码) 摘要:``` #include using namespace std; int main() { int a,b; while(cin >>a>>b) cout …… 题解列表 2021年12月09日 0 点赞 0 评论 455 浏览 评分:3.0