题解列表
蓝桥杯算法提高VIP-计算质因子 超级简单!
摘要:解题思路:①判断i是否为n的因数②判断i是否为质数#include <stdio.h>
int main()
{
int n,k;
scanf("%d",&n);//输入一个整数,输出其……
蓝桥杯算法提高VIP-01背包
摘要:解题思路:简简单单注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,m;
c……
最大公约数与最小公倍数
摘要:##最大公约数和最小公倍数
```c
#include
int main()
{
int a,b,t,m,n,i;
scanf("%d %d",&a,&b);
t=a0;i--){……
1598: 蓝桥杯算法训练VIP-学生成绩
摘要:解题思路:直接使用qsort函数排序,快的不得了。参考代码:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include……
1844: 蓝桥杯2017年第八届真题-小计算器(3.17)
摘要:解题思路:主要注意理清各指令的关系,计算指令都需要有两个数字以上,所以是在碰到数字的时候才有可能操作,放在数字的分支里.num中存储的永远是十进制数,只在输出时用要求的进制输出,计算就将其它进制的数转……
饮料换购python
摘要:解题思路:蓝桥杯2015年第六届真题-饮料换购 - C语言网 (dotcpp.com)注意事项:参考代码:n = int(input())ans = 0while n>2: mod = n % ……
[编程入门]字符串分类统计
摘要:##[编程入门]字符串分类统计
```c
#include
#include
int main()
{
char s[201];
int i,c1=0,c2=0,c3=0,c4=0;……
编写题解 1465: 蓝桥杯基础练习VIP-回形取数
摘要:解题思路:注意事项:参考代码:#include "iostream"#include "string.h"using namespace std;int main(){ int n,m; ……