Lanqiao Cup python, acwimg, preparation notes

Table of contents

1. Basic syntax of python

2. Master the python standard library

3. acwimg algorithm course

4. Precautions

4. Review questions

5. Tips on using python to solve algorithm problems

Six: Complete code:


1. Basic syntax of python

        It's almost enough to learn object-oriented. You don't need to go too in-depth to learn the content behind object-oriented. Because this is a programming competition, it rarely involves high-level knowledge of Python, so I recommend that you just learn the basic object-oriented skills , and you don’t need to go in depth with the rest. Of course, python has a lot of use in fields such as artificial intelligence, so students who want to go in these directions can learn it in depth.

(If you have a certain Python foundation, you should also know these.)

2. Master the python standard library

Lanqiao Cup does not support third-party libraries, but the python standard library is already dazzling. Learning the python standard library will be a process of getting twice the result with half the effort.

3. acwimg algorithm course

It is recommended to read the algorithm course on this official website. Each algorithm is explained in great detail. The ideas in the Python Blue Bridge Cup test are also derived from these algorithmic ideas.

4. Precautions

1. Does not support third-party libraries

The Lanqiao Cup python group does not support third-party libraries and can only use python’s standard library. This requires knowing what are the commonly used standard libraries of python and which ones are more common in algorithm competitions. Learn some commonly used standard libraries. For our solution The questions are very helpful, convenient and fast.

2. Only the IDE that comes with python

All students who are still using pycharm, please adapt quickly, otherwise you will definitely suffer a big loss during the competition. This IDE is not very easy to use.

3.python version

4. Review questions

I recommend "Introduction to Algorithm Competition Classic", which is written in C++ and can be used as an outline. You mainly understand the ideas and implement it yourself in python.

ps: The algorithm book of python is really nothing good.

5. Tips on using python to solve algorithm problems

After watching the tutorial, the best way to reproduce the code, develop good coding thinking, and improve the speed of writing code is to watch the video tutorial + practice questions. The official website of Lanqiao Cup has a practice system, and the test questions in it are completely sufficient. . If you follow his step-by-step instructions and think more about it, you will definitely gain something.

Six: Complete code:

Videos, notes and codes, and comments have all been uploaded to the network disk and placed on the homepage as a top article

Guess you like

Origin blog.csdn.net/m0_56175815/article/details/131742098