Blog (http://blog.csdn.net/livelylittlefish
) Post the notes prepared by the author (a bo) on the relevant research and study content. You are welcome to correct them!
Content
0.
Problem
1.
Some methods
2.
Mathematical Analysis
3.
Can I Program Computing?
4.
An Improved Method
5.
Method for further improvement
6.
Can we directly calculate and find all the correct solutions?
7.
A simpler method
8.
Automatic compilation and running of all codes
9.
Problem Expansion
10.
Experience
11.
Summary
Reference
Appendix
1
: Code for mathematical Decomposition
Weight1.c
Appendix
2
: Mathematical decomposition Program
Weight1
Running result
Appendix
3
: Code for tree structure Decomposition
Weight2.c
Appendix
4
: Code of the improved method
Weight3.1.c/3.2.c/3.3.c
Appendix
5
: Code of the improved method
Weight3.1.c/3.2.c/3.3.c
Output result
Appendix
6
: Directly calculate the correct decomposition code
Weight4.c
Appendix
7
: Code for a simpler method
Weight5.1.c/5.2.c/5.3.c
10.
Experience
So far, the discussion on weight and Salt Separation has ended. How is it? Do you think this article is a little long or even a little cool?
Here, I want to declare that I do not want to show off the barrier or writing skills, but mainly want to train myself in thinking, abstracting, and solving problems through problems, exercise the author's ability to analyze problems from multiple perspectives, and train the author's ideas about problems to form his own analysis and writing style. That's all.
I am honored to be able to inspire and help readers. The following are some of my experiences in writing this article.
(1)
For simple questions, you need to think deeply and explore them deeply.
(2)
Thinking, and in-depth consideration of all aspects of the problem, including representation in the computer
(
Logical and physical representation
)
.
(3)
Writing should be detailed, but should not be arrogant. The writing should focus on clear ideas, including physical and logical ideas. Be responsible to the readers. You cannot write clearly to avoid misleading the readers.
(4)
Mathematics is the mother of encyclopedia, and computers are tools. The key to how to enable computers to serve themselves, work for themselves, and solve problems is to abstract and model the problems. Here, the mathematical thinking is the key to your use of computers. The quality of algorithms directly affects the efficiency of computer work and the ability to solve problems. Similarly, the quality of data structures will also affect program performance, including time performance and space performance.
Previous section
Next section
Thinking questions
, Tree Structure
, Weight to Salt