PAT
591984826
这个作者很懒,什么都没留下…
展开
-
PAT (Advanced Level) Practise —1001:A+B format
Calculate a + b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are less than four digits). Input Each input fi原创 2016-06-28 14:52:56 · 220 阅读 · 0 评论 -
PAT—1002. A+B for Polynomials
This time, you are supposed to find A+B where A and B are two polynomials. Input Each input file contains one test case. Each case occupies 2 lines, and each line contains the informatio原创 2016-06-28 23:45:16 · 197 阅读 · 0 评论 -
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 teams in each city and the le原创 2016-06-30 17:06:43 · 185 阅读 · 0 评论 -
python中的“__init__”函数
今天在构造CaptureManager类的时候,遇到了”init“函数,于是查了一下用法:LOOK_HERE感觉应该就是类似C++里面的构造函数(constructor)原创 2016-09-07 15:00:49 · 687 阅读 · 0 评论