- 博客(3)
- 收藏
- 关注
转载 [Python]PAT甲级 1003 Emergency
[Python]PAT甲级 1003 EmergencyAs 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
313
原创 [Python]PAT 甲级 1002 A+B for Polynomials
[Python]PAT 甲级 1002 A+B for PolynomialsThis 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
541
原创 [Python]PAT 甲级1001 A+B Format
[Python]PAT 甲级1001 A+B Formata, b = map(int, input().split())total = a + bstr_total = str(abs(total))# print(str_total)# 解决开头部分pre = len(str_total)%3if total < 0: print("-",end="")i, j ...
2019-06-28 21:04:47
434
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅