A, Github Address
Two, PSP form
PSP2.1 | Personal Software Process Stages | Estimated time consuming (minutes) | The actual time-consuming (minutes) |
---|---|---|---|
Planning | plan | 60 | 40 |
Estimate | Estimate how much time this task requires | 1 | 1 |
Development | Develop | 400 | 350 |
Analysis | Needs analysis (including learning new technologies) | 400 | 450 |
Design Spec | Generate design documents | 0 | 0 |
Design Review | Design Review | 0 | 0 |
Coding Standard | Code specifications (development of appropriate norms for the current development) | 60 | 60 |
Design | Specific design | 0 | 0 |
Coding | Specific coding | 350 | 400 |
Code Review | Code Review | 30 | 30 |
Test | Test (self-test, modify the code, submit modifications) | 250 | 300 |
Reporting | report | 120 | 180 |
test repor | testing report | 60 | 80 |
Size Measurement | Computing workload | 0 | 0 |
Postmortem & Process Improvement Plan | Later summarized, and process improvement plan | 30 | 30 |
total |
1761 | 1921 |
Third, the problem-solving ideas
1 , on CSDN find relevant information found most of the code by the java and python resolved that he would have no basis in this regard, learning for some time because of the deadline to give up the use of up to C contact to solve
2, c ++ for the operation of Chinese characters, is generally preferred transcoding way, but because of personal technology and the way I used the time to achieve a string
3, the title's name and phone number are better extraction, "province", "city" part of some because the data does not give the final word provinces and municipalities have difficulty reason, the last full address for the county and extraction split relatively more complex, the need to find some further information to understand and learn techniques to solve
Fourth, the performance test
1、CUP
2, function
3, module
Fifth, test data
Input:
1! Lu cells, Changning District, Shanghai Changning week 18,951,233,466 Bridge Street 999 Spring Garden Road.
1! By Zang Street, Dongcheng District, Beijing Beixinqiao Street Dongzhimen Street, Building 8 people 15679601503 An district.
Output: "level": 1,
Name: Lu cell, phone: 18951233466 Address: Shanghai, Shanghai Changning District, Zhou Bridge Street, 999 Spring Garden Road, Changning
Name: Zang Street was, Mobile: 15679601503 Address: Beijing, Beijing, Dongcheng, Beixinqiao Street, Dongzhimen Street, Building 8 Minanxiaoqu
Sixth, experience summary
Feel inadequate or too much of the local language will also be less is not good grasp, like the work of this problem in other languages can be easily solved but C will be very troublesome, it requires a lot of thinking and the amount of knowledge. This homework general feeling is good, although the beginning of a very painful, but it made me realize a more vivid sense of learning the computer, their ability to solve problems has also been growth.