题解列表
[编程基础]输入输出练习之浮点数专题 标题题解
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); printf("%f\n%0.5lf\n……
蓝桥杯算法提高VIP-Quadratic Equation
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<cmath>int main(){ double a,b,c,x1,x……
python-快乐司机
摘要:解题思路:①算出每个物品的平均价格②按照平均价格降序对物品排序③按照排序后的物品顺序开始装载物品。装载物品时分为两种情况第一种情况:物品的重量 < 货车剩余可装载的重量 ……
Benjam1n:蓝桥杯2020年第十一届省赛真题-成绩统计(Java代码)
摘要:解题思路:模拟注意事项:无参考代码:public static void main(String[] args) {
Scanner in = new Scanner(System.in);
……
python-排列数
摘要:解题思路:python迭代器itertools中permutations函数的应用。注意事项:permutations返回的结果是一个迭代对象。不要先对迭代对象进行转换,然后再输出,例如下面这样A =……
Benjam1n:蓝桥杯2019年第十届省赛真题-特别数的和(Java代码)(正则表达式)
摘要:解题思路:正则参考代码:public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int N ……
C++繁琐,还是自己完整实现舒服
摘要:#include<stdio.h>
#include<string.h>
#include<malloc.h>
typedef struct Node{
int arr[100000];
……
[编程入门]自定义函数处理素数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int n);int main(){ int n; scanf("%d",&n); fun(n); return 0;}……
2061: [STL训练]周瑜的反间计 C++实现
摘要:解题思路:跟着题走就好注意事项:首先是多组数据直到-1为止,其次要注意每组数据后面有一个空格参考代码:#include<iostream>#include<vector>#include<algori……