My Competitive Programming Journey: Week 1
Tags: computerscience, competitiveprogramm, programming, competition
Published: 2019-07-11 14:28:23

---
title: My Competitive Programming Journey: Week 1
published: true
tags: computer-science,competitive-programm,programming,competition
canonical_url: 
---

I love programming. I love competition. I always have, I’ve always embraced the joy of learning that is enhanced by the feeling of competition. So when I heard about competitive programming, I was over the moon! This will detail my journey and progress through the world of Competitive Programming. Jump on the coding train with me, it's going to be a fun ride!

<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F1BH7Xygg3hgWxm71HG%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fhistoryuk-al-murray-hatetheenglish-on-a-train-1BH7Xygg3hgWxm71HG&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F1BH7Xygg3hgWxm71HG%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/6f0c111d5d11ef070594e20d4c348a09/href">https://medium.com/media/6f0c111d5d11ef070594e20d4c348a09/href</a></iframe>

This was about a year ago, but I really didn’t take it too seriously until this summer. I had participated in some online contests and done fairly well. I even made the Gold Division in the USACO(United States of America Computing Olympiad), which is the second highest division. Throughout this 4–5 month period, I just hoped that I would progress through the ranks without doing any work at all, obviously, that isn’t the greatest idea.

![](https://cdn-images-1.medium.com/max/1024/0*OidyN31qj865iWUO)<figcaption>Photo by <a href="https://unsplash.com/@clemensvanlay?utm_source=medium&amp;utm_medium=referral">Clemens van Lay</a> on <a href="https://unsplash.com?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption>

### What is Competitive Programming?

Competitive Programming is a mind sport. It consists of either individuals or teams coming up with solutions to algorithmic problems within a certain time limit. Some of the more famous programming contests are the IOI (International Olympiad of Informatics) and the ACM-ICPC ( Association for Computing Machinery — International Collegiate Programming Contest).

### What resources am I going to use?

_Textbook:_ [**_Principles of Algorithmic Problem Solving by Johan Sannemo_**](https://www.csc.kth.se/~jsannemo/slask/main.pdf)

_Text Editor:_ [**_Visual Studio Code_**](https://code.visualstudio.com/)

_Problem Sites_:

- [**_Codeforces_**](https://codeforces.com/)
- [**_Kattis_**](https://open.kattis.com/)
- [**_CSES_**](https://cses.fi/problemset/)

### What did I do this week?

Alright, here’s what you clicked on the article for. Feel free to follow along at your own pace.

- I went through chapter 1 and 2 in the textbook and absorbed as much as I could about C++.
- I learned how most Competitive Programming problems are formatted and how to cut through to the heart of the problem.
- I did 50 odd problems from the problem sites above.
- Did all the exercises in chapter 2 of the textbook.

### **What did I Learn?**

- The format of a C++ program
- How to implement basic programs into C++
- The format of Codeforces contests

I didn’t learn a whole lot this week due to it being mostly a refresher course on things I already knew, however, next week looks to be a completely different matter.

### Goals for next week

1. Finish at least chapter 3 in the textbook.
2. Do 1 Codeforces contest
3. Do 30 CSES Problems
4. Do all the exercises in chapter 3 on Kattis.