1132: C语言训练-最大数问题(答案提示标记数不输出不运算) 摘要:解题思路:do while语句输入,for语句比较运算注意事项:题目中没有明确标记数-1的处理。从提交结果看,-1只是标记,既不输出,也不参与比较运算,否则就会‘答案错误’参考代码:#include<…… 题解列表 2022年08月20日 0 点赞 0 评论 371 浏览 评分:0.0
1088——————A+B for Input-Output Practice (IV) 摘要:题目:1088: A+B for Input-Output Practice (IV) **题目描述** Your task is to Calculate the sum of some int…… 题解列表 2022年08月20日 0 点赞 0 评论 534 浏览 评分:0.0
压位高精,使用朴素的二分法来求平方根。 摘要:解题思路:本质就是求sqrt(n)*sqrt(m),时间复杂度是O(maxlen^3),maxlen是数的位数。使用普通高精显然超时,那就压8位为1位,大大减小系数。 开…… 题解列表 2022年08月20日 0 点赞 0 评论 683 浏览 评分: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 评论 428 浏览 评分:0.0
1093简单的解法 摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。我使用的是自定义函数,注意理解。sasa是我随便写的名字,无碍。参考代码:#include<stdio.h>#include<str…… 题解列表 2022年08月20日 0 点赞 1 评论 288 浏览 评分:9.9
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 评论 431 浏览 评分: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 评论 379 浏览 评分:0.0
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 评论 379 浏览 评分:0.0
蓝桥杯算法提高VIP-质因数 (C++) 摘要:解题思路:我们只用从2开始判断就好,不用判断是否为素数,因为如果能被2整除,那么会一只除2,直到2不行为止,4、8……2的倍数肯定不可以!3、5、7、11、……同理于2;注意事项:参考代码:#incl…… 题解列表 2022年08月20日 0 点赞 0 评论 448 浏览 评分:9.9
蓝桥杯算法提高VIP-质因数2(C++) 摘要:解题思路:我们只用从2开始判断就好,不用判断是否为素数,因为如果能被2整除,那么会一只除2,直到2不行为止,那么2都不可以了,4、8等2的倍数肯定不可以!3、5、7、11、等等同理于2;参考代码: …… 题解列表 2022年08月20日 0 点赞 0 评论 524 浏览 评分:9.9