1503: 蓝桥杯算法提高VIP-前10名 摘要:读入、排序后输出。#include <bits/stdc++.h> using namespace std; bool cmp(int &a,int &b){ return a>b;…… 题解列表 2022年01月04日 0 点赞 0 评论 265 浏览 评分:0.0
1486: 蓝桥杯算法提高VIP-一元一次方程 摘要:无脑打印。#include <bits/stdc++.h> using namespace std; int main(){ double a,b; cin >> a >>…… 题解列表 2022年01月04日 0 点赞 0 评论 272 浏览 评分:0.0
2084: 蓝桥杯基础练习-特殊回文数 摘要:先求各位和是否与所求一致,再判断是否是回文数,而不是相反。#include <bits/stdc++.h> using namespace std; int f(int a){ in…… 题解列表 2022年01月04日 0 点赞 0 评论 381 浏览 评分:0.0
1470: 蓝桥杯基础练习VIP-时间转换 摘要:时分秒挨个对 60 取余就得到了。#include <bits/stdc++.h> using namespace std; int main(){ int n; cin …… 题解列表 2022年01月04日 0 点赞 0 评论 330 浏览 评分:0.0
1808: [编程基础]输入输出练习之精度控制1 摘要:无脑打印。保留几位小数这种还是 printf 好用。#include <bits/stdc++.h> using namespace std; int main(){ double …… 题解列表 2022年01月03日 0 点赞 0 评论 591 浏览 评分:9.9
1806: [编程基础]输入输出练习之第二个数字 摘要:无脑打印。#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin >> a >> …… 题解列表 2022年01月03日 0 点赞 0 评论 391 浏览 评分:0.0
1072:汽水题 C++简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,x,s; while(cin>>n&&n) …… 题解列表 2022年01月03日 0 点赞 0 评论 307 浏览 评分:9.9
1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:辗转相除法注意事项:m,n需保留原值参考代码:#include <stdio.h>#include <algorithm> #include <bitset> #include …… 题解列表 2022年01月03日 0 点赞 1 评论 385 浏览 评分:4.7
1005: [编程入门]温度转换C++ 摘要:1005: [编程入门]温度转换题目 1005: [编程入门]温度转换时间限制: 1Sec 内存限制: 128MB 提交: 116828 解决: 40199题目描述输入一个华氏温度,要求输出摄氏温度。…… 题解列表 2022年01月03日 0 点赞 1 评论 1177 浏览 评分:6.0
蓝桥杯三角型问题动态规划解法c++ 摘要:解题思路: 问题的解析:关于求最大值问题也就是求最优值问题,不可以采用贪心算法,贪心算法只能得到局部最优 &n 题解列表 2022年01月02日 0 点赞 0 评论 309 浏览 评分:0.0