编写题解 2024: 链表删除练习 vector 摘要:参考代码:#include<iostream> #include<string> #include<algorithm> #include<vector> using namespace st…… 题解列表 2022年04月30日 0 点赞 0 评论 360 浏览 评分:0.0
蓝桥杯基础练习-十六进制转八进制 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,n;int main() { cin>>n; while…… 题解列表 2022年04月30日 0 点赞 0 评论 363 浏览 评分:0.0
数据结构-八进制数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a;int main() { while(cin>>a) p…… 题解列表 2022年04月30日 0 点赞 0 评论 376 浏览 评分:0.0
蓝桥杯算法提高VIP-十进制数转八进制数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a;int main() { cin>>a; printf…… 题解列表 2022年04月30日 0 点赞 0 评论 366 浏览 评分:0.0
简单易懂,极简 摘要:解题思路:注意事项:参考代码:int main(){ int x = 0; int y = 0; while ((x = getchar()) != '\n') { if (x ==…… 题解列表 2022年04月30日 0 点赞 0 评论 357 浏览 评分:9.9
蓝桥杯算法提高VIP-第二大整数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;set<int> st;int main() { int num; wh…… 题解列表 2022年04月30日 0 点赞 0 评论 297 浏览 评分:0.0
利用匿名函数来求 摘要:解题思路:调用filter这个过滤函数,再在函数里定义一个匿名函数来筛选列表里大于平均值的数注意事项:参考代码:numbers=list(map(int,input().split()))averag…… 题解列表 2022年04月30日 0 点赞 0 评论 636 浏览 评分:0.0
蓝桥杯算法提高VIP-最大最小值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n,a[10005];int main(){ cin>>n; for(int…… 题解列表 2022年04月30日 0 点赞 0 评论 408 浏览 评分:0.0
蓝桥杯算法提高VIP-简单加法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int t;int main(){ for(int i=1;i<1000;i+…… 题解列表 2022年04月30日 0 点赞 0 评论 363 浏览 评分:0.0
利用匿名函数来求 摘要:解题思路:利用匿名函数lambda来求解顺序注意事项:参考代码:n,m=map(int,input().split())list=[]for i in range(n): a=(input().…… 题解列表 2022年04月30日 0 点赞 0 评论 449 浏览 评分:0.0