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 评论 368 浏览 评分:0.0
压位高精,使用朴素的二分法来求平方根。 摘要:解题思路:本质就是求sqrt(n)*sqrt(m),时间复杂度是O(maxlen^3),maxlen是数的位数。使用普通高精显然超时,那就压8位为1位,大大减小系数。 开…… 题解列表 2022年08月20日 0 点赞 0 评论 599 浏览 评分:9.9
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 评论 479 浏览 评分:0.0
1132: C语言训练-最大数问题(答案提示标记数不输出不运算) 摘要:解题思路:do while语句输入,for语句比较运算注意事项:题目中没有明确标记数-1的处理。从提交结果看,-1只是标记,既不输出,也不参与比较运算,否则就会‘答案错误’参考代码:#include<…… 题解列表 2022年08月20日 0 点赞 0 评论 317 浏览 评分:0.0
1087——————A+B for Input-Output Practice (III) 摘要:题目:1087: A+B for Input-Output Practice (III) **题目描述** Your task is to Calculate a + b. ——翻译(来源百度翻…… 题解列表 2022年08月20日 0 点赞 0 评论 488 浏览 评分:0.0
1086——————A+B for Input-Output Practice (II) 摘要:题目:1086: A+B for Input-Output Practice (II) **题目描述** The first line integer means the number of in…… 题解列表 2022年08月20日 0 点赞 0 评论 500 浏览 评分:0.0
1085——————A+B for Input-Output Practice (I) 摘要:题目:1085: A+B for Input-Output Practice (I) **题目描述** Your task is to Calculate a + b. Too easy?! Of…… 题解列表 2022年08月20日 0 点赞 0 评论 465 浏览 评分:0.0
2576——————解码 摘要: n = input() #输入字符串 H3el5o2 s = '' #建空字符串 because输入是字符串 for i in range(len(n…… 题解列表 2022年08月20日 0 点赞 0 评论 493 浏览 评分:9.9
用一个数组存储 摘要:```cpp #include //挺简单的用一个数组各个数字 using namespace std; int q[5]; int main() { int n,cnt=0,num=…… 题解列表 2022年08月20日 0 点赞 0 评论 346 浏览 评分:0.0
[编程入门]矩阵对角线求和 摘要:解题思路:利用二维数组,用两层for循环将元素输入,之后再输出。注意事项:无。参考代码:#include<stdio.h>int main(){ int arr[3][3]; for(in…… 题解列表 2022年08月20日 0 点赞 1 评论 450 浏览 评分:9.9