题解列表
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……
压位高精,使用朴素的二分法来求平方根。
摘要:解题思路:本质就是求sqrt(n)*sqrt(m),时间复杂度是O(maxlen^3),maxlen是数的位数。使用普通高精显然超时,那就压8位为1位,大大减小系数。 开……
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……
1132: C语言训练-最大数问题(答案提示标记数不输出不运算)
摘要:解题思路:do while语句输入,for语句比较运算注意事项:题目中没有明确标记数-1的处理。从提交结果看,-1只是标记,既不输出,也不参与比较运算,否则就会‘答案错误’参考代码:#include<……
1087——————A+B for Input-Output Practice (III)
摘要:题目:1087: A+B for Input-Output Practice (III)
**题目描述**
Your task is to Calculate a + b.
——翻译(来源百度翻……
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……
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……
2576——————解码
摘要: n = input()
#输入字符串 H3el5o2
s = ''
#建空字符串 because输入是字符串
for i in range(len(n……