思路简单,可以参考参考。 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int i,j,k,n,x,y,a[39][39]; …… 题解列表 2022年08月20日 0 点赞 0 评论 408 浏览 评分:0.0
题解 1035: [编程入门]自定义函数之字符类型统计(C) 摘要:注意事项:主函数array数组开大点,我刚开始是array[50],出现运行错误50分,检查了下感觉没什么问题,换了个array[100]就通过了。参考代码:#include<stdio.h> #i…… 题解列表 2022年08月20日 0 点赞 0 评论 386 浏览 评分:0.0
蓝桥杯算法提高VIP-质因数2(C++) 摘要:解题思路:我们只用从2开始判断就好,不用判断是否为素数,因为如果能被2整除,那么会一只除2,直到2不行为止,那么2都不可以了,4、8等2的倍数肯定不可以!3、5、7、11、等等同理于2;参考代码: …… 题解列表 2022年08月20日 0 点赞 0 评论 453 浏览 评分:9.9
蓝桥杯算法提高VIP-质因数 (C++) 摘要:解题思路:我们只用从2开始判断就好,不用判断是否为素数,因为如果能被2整除,那么会一只除2,直到2不行为止,4、8……2的倍数肯定不可以!3、5、7、11、……同理于2;注意事项:参考代码:#incl…… 题解列表 2022年08月20日 0 点赞 0 评论 403 浏览 评分:9.9
1092——————A+B for Input-Output Practice 摘要:题目:1092: A+B for Input-Output Practice **题目描述** Your task is to calculate the sum of some integers…… 题解列表 2022年08月20日 0 点赞 0 评论 331 浏览 评分:0.0
1091—————— A+B for Input-Output Practice (VII) 摘要:题目:1091: A+B for Input-Output Practice (VII) **题目描述** Your task is to Calculate a + b. ——翻译(来源百度翻…… 题解列表 2022年08月20日 0 点赞 0 评论 330 浏览 评分:0.0
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…… 题解列表 2022年08月20日 0 点赞 0 评论 392 浏览 评分:0.0
1093简单的解法 摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。我使用的是自定义函数,注意理解。sasa是我随便写的名字,无碍。参考代码:#include<stdio.h>#include<str…… 题解列表 2022年08月20日 0 点赞 1 评论 256 浏览 评分:9.9
1089—————— A+B for Input-Output Practice (V) 摘要:题目:1089: A+B for Input-Output Practice (V) **题目描述** Your task is to calculate the sum of some inte…… 题解列表 2022年08月20日 0 点赞 0 评论 378 浏览 评分:0.0
压位高精,使用朴素的二分法来求平方根。 摘要:解题思路:本质就是求sqrt(n)*sqrt(m),时间复杂度是O(maxlen^3),maxlen是数的位数。使用普通高精显然超时,那就压8位为1位,大大减小系数。 开…… 题解列表 2022年08月20日 0 点赞 0 评论 615 浏览 评分:9.9