- 博客(3)
- 收藏
- 关注
转载 [Python]PAT甲级 1003 Emergency
[Python]PAT甲级 1003 Emergency As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue...
2019-06-30 19:01:57
283
原创 [Python]PAT 甲级 1002 A+B for Polynomials
[Python]PAT 甲级 1002 A+B for Polynomials This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occupies 2 lin...
2019-06-29 21:55:51
513
原创 [Python]PAT 甲级1001 A+B Format
[Python]PAT 甲级1001 A+B Format a, b = map(int, input().split()) total = a + b str_total = str(abs(total)) # print(str_total) # 解决开头部分 pre = len(str_total)%3 if total < 0: print("-",end="") i, j ...
2019-06-28 21:04:47
393
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅