From the time an undergraduate student starts AtCoder until it turns green (environment construction / learning method)

Introduction

The rate at AtCoder, which started in earnest around October 2019, has finally exceeded 800. I decided to make my Qiita debut because it was sharp, so I took a brush. atcoder.png In this article, as a memorandum and as a missionary to friends, I would like to introduce what I have done from building the environment to participating in the contest. In addition, we will proceed on the premise of macOS Catalina version 10.15.3.

Environment

Initially, I was using a Jupyter Notebook, The bottleneck was that line breaks were not included when pasting the input example, so I moved to VS Code. Below, I would like to explain each environment construction.

  1. Jupyter Notebook With Homebrew and pip, without pyenv I installed Jupyter Notebook in the environment set by venv that is installed as standard in Python3 type.

Reference: Memo to prepare Python environment on Mac and set Jupyter Notebook (April 2018) 2. VisualStudioCode Used when installing Jupyter Notebook The venv environment can be used as it is on VS Code.

――What you did --Install VScode Reference: Procedure to install Visual Studio Code on MacOS --Added
`" python.venvPath ":" 1. venv environment Path "`
set in 1. to settings.json. --Added various extensions from MarketPlace -Python
Required to run Python files in VS Code. -Code Runner
On MacOS, you can execute the file with Ctrl + Option + N. -Kite Python Autocomplete
It will automatically complete when coding, so it will save time.

Learning method

As an individual, I basically continued to solve AtCoder's past questions. I also kept my motivation by reading ant books in the form of study sessions with friends and holding virtual contests. ** (Actually this worked best) **

Below are some sites that have been very helpful in learning.

--The site you used -AtCoder Problems
You can refer to the past questions of AtCoder by coloring them according to the difficulty level.
Since you can set rivals, it also helps maintain motivation. -Aizu Online Judge
While actually coding in various languages, not limited to Python, the basic concepts used in competitive programming You can learn. -note.nkmk.me
Articles about Python language specifications and libraries are posted according to the purpose.

in conclusion

It's a personal impression, but while advancing systematic learning with ant books etc. I think that it is the shortest to train the instantaneous power by participating in past questions and other contests if you only increase the rate. In the future, I would like to focus on systematic learning ...

References

This article was written with reference to the following information.

-Memo to prepare Python environment on Mac and set Jupyter Notebook (April 2018) -Procedure to install Visual Studio Code on MacOS

Recommended Posts

From the time an undergraduate student starts AtCoder until it turns green (environment construction / learning method)
Deep learning tutorial from environment construction
Until it turns light blue with AtCoder