题解列表
1517——————蓝桥杯算法提高VIP-实数相加
摘要:**import** 导入模块,每次使用模块中的函数都要是定是哪个模块。
**from…import *** 导入模块,每次使用模块中的函数,直接使用函数就可以
**decimal 模块**:……
编写题解 1034: [编程入门]自定义函数之数字分离
摘要:```c
//自定义函数之数字分离
#include
#include
void NumSepara(){
char s[5];//s[4]编译不通过,数组大小定义大于4才通过,这系统……
思路简单,可以参考参考。
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int i,j,k,n,x,y,a[39][39]; ……
题解 1035: [编程入门]自定义函数之字符类型统计(C)
摘要:注意事项:主函数array数组开大点,我刚开始是array[50],出现运行错误50分,检查了下感觉没什么问题,换了个array[100]就通过了。参考代码:#include<stdio.h>
#i……
蓝桥杯算法提高VIP-质因数2(C++)
摘要:解题思路:我们只用从2开始判断就好,不用判断是否为素数,因为如果能被2整除,那么会一只除2,直到2不行为止,那么2都不可以了,4、8等2的倍数肯定不可以!3、5、7、11、等等同理于2;参考代码:
……
蓝桥杯算法提高VIP-质因数 (C++)
摘要:解题思路:我们只用从2开始判断就好,不用判断是否为素数,因为如果能被2整除,那么会一只除2,直到2不行为止,4、8……2的倍数肯定不可以!3、5、7、11、……同理于2;注意事项:参考代码:#incl……
1092——————A+B for Input-Output Practice
摘要:题目:1092: A+B for Input-Output Practice
**题目描述**
Your task is to calculate the sum of some integers……
1091—————— A+B for Input-Output Practice (VII)
摘要:题目:1091: A+B for Input-Output Practice (VII)
**题目描述**
Your task is to Calculate a + b.
——翻译(来源百度翻……
1090—————— A+B for Input-Output Practice (VI)
摘要:题目:1090: A+B for Input-Output Practice (VI)
**题目描述**
Your task is to calculate the sum of some int……