二级C语言-等差数列 摘要:解题思路:直接模拟注意事项:要用long long参考代码:#include<bits/stdc++.h>using namespace std;long long n,s,t=2;int main(…… 题解列表 2022年04月29日 0 点赞 0 评论 259 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:直接用short注意事项:没有参考代码:#include<bits/stdc++.h>using namespace std;string s[8];int main(){ for(i…… 题解列表 2022年04月29日 0 点赞 0 评论 388 浏览 评分:0.0
编写题解 1494: 蓝桥杯算法提高VIP-企业奖金发放 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main() { double a; ci…… 题解列表 2022年04月29日 0 点赞 0 评论 470 浏览 评分:0.0
编写题解 1511: 蓝桥杯算法提高VIP-复数求和 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b; int sum1,s…… 题解列表 2022年04月29日 0 点赞 0 评论 485 浏览 评分:0.0
1831: 蓝桥杯2015年第六届真题-机器人繁殖 摘要:解题思路:注意事项:参考代码:n,s=map(int,input().split()) def f(n,x): ls=[x] for i in range(n): …… 题解列表 2022年04月29日 0 点赞 0 评论 561 浏览 评分:6.0
使用STL set容器进行解题 摘要:解题思路:先定义一个整型数组,从键盘赋值,然后再插入到set容器中,set 本身就可以达到去重,而且默认升序注意事项:参考代码: #include<iostream>#include<set>i…… 题解列表 2022年04月29日 0 点赞 0 评论 580 浏览 评分:9.9
密码破译(通用版本) 摘要:解题思路:通过ASCII码进行计算A~V-->E~ZW~Z-->a~da~v-->e~zw~z-->A~D注意事项:参考代码:temp=input()for i in temp: temp1=or…… 题解列表 2022年04月29日 0 点赞 0 评论 675 浏览 评分:8.0
蓝桥杯2022年第十三届省赛真题-修剪灌木(c++) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstdio> #include <algorithm> using namespace std; i…… 题解列表 2022年04月29日 0 点赞 0 评论 602 浏览 评分:4.0
这是当时比赛的写的 摘要:解题思路:循环就完了注意事项:参考代码:n=1189m=841a=input()k=int(a[1])while k!=0: l=n//2 n=m m=l k-=1print(…… 题解列表 2022年04月29日 0 点赞 0 评论 1041 浏览 评分:4.6
蓝桥杯2022年第十三届省赛真题-刷题统计(c++) 摘要:解题思路:注意事项:1018是10的18次方参考代码:#include <iostream> #include <cstdio> using namespace std; int main() …… 题解列表 2022年04月29日 0 点赞 0 评论 889 浏览 评分:7.3