I participated in competitive programming in a week after I started programming

How did you start programming?

Until now, I was surrounded by engineers and kept thinking "I want to program someday". Meanwhile, my husband has been addicted to competitive programming every weekend recently, and as I helped and solve the thinking part of mathematics, I became more motivated to have fun. Then, I was tempted by my husband's sweet voice, "If you are a beginner at AtCorder, even people who have never programmed can do it," and I set foot on it ...

Self-introduction

――I've been in the IT industry for 5 years, but I have no programming experience. ――Since I am from science, I have no resistance to mathematics. I like puzzles and I'm good at it --No resistance to the introduction of IT tools that you have never touched ――Gugging power is high (I think) ――If your husband is a full-stack engineer and has a problem, you can always ask ^ 1

What did you do in a week

--Install Python on Mac --Install Visual Studio Code on Mac [^ 2] -Register with AtCorder -[Python textbook to acquire practical skills](https://www.amazon.co.jp/%E5%AE%9F%E8%B7%B5%E5%8A%9B%E3%82%92% E8% BA% AB% E3% 81% AB% E3% 81% A4% E3% 81% 91% E3% 82% 8B-Python% E3% 81% AE% E6% 95% 99% E7% A7% 91% E6% 9B% B8-% E3% 82% AF% E3% 82% B8% E3% 83% A9% E9% A3% 9B% E8% A1% 8C% E6% 9C% BA / dp / 4839960240 / ref = tmm_pap_swatch_0 ? _encoding = UTF8 & qid = & sr =) ――About the middle of Chapters 1 and 2. For the time being, I can now write a little if statement.

The above gave me the impression that "programming is like a puzzle-it's interesting".

What I thought when I was doing AtCorder

--First, read the problem carefully [^ 3] --Read constraints and input examples carefully ――Unexpectedly, I think it is important to grasp the format of the input example properly. --Frequently use print to see if you're doing what you intended. --Read the error carefully. What line is it? On top of that, think first with an error that is easy to get hooked on --I think there are beginners who write = where they should write == --Enter using Tab as much as possible to prevent writing mistakes ――If you don't understand, google. (I'm googled for "list deletion python" and so on. And the sites that come out ... Maybe I can solve it just by googled !?)

I thought that the beginner's 100-point problem (gray problem) could be solved easily by the above.
The 200-point problem is still difficult. I can only write about half. In the first place, the for sentence is not well understood yet. It seems better to read the textbook properly than to google here

Conclusion

――The 100-point problem can be solved with google power ――It seems better to read the textbook properly and learn systematically for each syntax. ――AtCorder has a lot of problems and I never get tired of it. pleasant. There is also a score, so it seems to be motivated ――I didn't like programming, but after all, it's fun because it feels like a freely assembleable puzzle with rules. It was easier to attach than I expected.

from now on

――It's been about two weeks since you started, but make sure you can solve the 100-point problem. Next is the 200 point problem ――For the time being, solve At Corder one question a day. ――I want to finish all the textbooks I'm doing now and go to an intermediate class textbook. After that, I want to do data analysis using python, so I also want to study there

[^ 2]: When I googled, it was written that "Atom" was recommended, but I added it because my engineer's husband said "The times are Visual Studio Code". Later caught in a whirlpool of excitement [^ 3]: That's right. But even when I was taking the university entrance exam, my teacher told me that it was important to read it carefully.

Recommended Posts

I participated in competitive programming in a week after I started programming
I started Node.js in a virtual environment
I made a competitive programming glossary with Python
Competitive programming starting with LetCode, which I recommend after solving 150 questions in 8 weeks
I participated in AtCoder (ABC158)
A word that I was interested in as a programming beginner
I get a UnicodeDecodeError in mecab-python3
I participated in the ISUCON10 qualifying!
I participated in PyData Tokyo Meetup # 2
Start SQLite in a programming language
I participated in Kaggle's NFL competition
I participated in AtCoder (ABC169 edition)
The most sought after programming language in 2020
I want to print in a comprehension
I made a payroll program in Python!
Try a functional programming pipe in Python
After studying Python3, I made a Slackbot
Learn dynamic programming in Python (A ~ E)
I created a password tool in Python.
[GAE now] After all, I participated in AppEngine ja night # 1 so I summarized it.
When I get a chromedriver error in Selenium
A memo that I wrote a quicksort in Python
I want to create a window in Python
I tried playing a typing game in Python
[Memo] I tried a pivot table in Python
I wrote a design pattern in kotlin Prototype
I tried using Pythonect, a dataflow programming language.
I tried adding a Python3 module in C
[PyTorch] I was a little lost in torch.max ()
I wrote a Japanese parser in Japanese using pyparsing.
I made a Caesar cryptographic program in Python.
After attending school, I participated in SIGNATE's BEGINNER limited competition for the first time.