- 博客(2)
- 收藏
- 关注
原创 A+B for Polynomials python实现
This time, you are supposed to findA+BwhereAandBare two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a polynomial:KN1aN1N2aN2...NKa...
2021-08-02 16:00:29
107
原创 python把字符串‘123.456‘转换成浮点数123.456
开始学习python,把自己写过的经典题目记录下from functools import reducedef str2float(s): def D(str): return {'0':0,'1':1,'2':2,'3':3,'4':4,'5':5,'6':6,'7':7,'8':8,'9':9}[str] def f1(x,y): return x*10+y def f2(x,y): return x/10+y ...
2021-07-27 12:22:08
497
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人