题解列表
1806: [编程基础]输入输出练习之第二个数字
摘要:解题思路:题目让输入3个数,输出第2个输入的数注意事项:不是输出第2大的数参考代码:#include<iostream>using namespace std;int main(){ int a……
利用C++ 集合set特性解题
摘要:```
#include
#include
#include
using namespace std;
int M,N;
int a[3];
set T;
int main(){
……
1821: 蓝桥杯2014年第五届真题-拼接平方数
摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())
ls=[]
for i in range(1,int(b**(1/2))+1):
ls.appen……
编写题解 1487: 蓝桥杯算法提高VIP-不同单词个数统计
摘要:解题思路:利用STL中set的特性,(不允许插入相同的内容)直接输出set的大小即可记录单词的个数注意事项:参考代码:#include
#include
using namespace std;
……
编写题解 1484: 蓝桥杯算法提高VIP-Quadratic Equation
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<math.h>
#include<iomanip>
using namespace std;
int ……
无标题无标题无标题无标题无标题
摘要:#include <stdio.h>#include <stdlib.h>int main(){ unsigned long long a; unsigned long long b; ……
1658: 蓝桥杯算法训练VIP-薪水计算
摘要:解题思路:注意事项:参考代码:t,p=map(float,input().split())
if t>50:
print('%.2f'%((t-50)*2*p+10*1.5……