COMPETITIVE PROGRAMMING

 

Competitive Programming is a sport, I mean literally. Take any sport, let’s consider cricket for that matter, you walk in to bat for the first time. Swing and a miss, do it couple of times and you’ll eventually hit one over the ropes. Now, consider a programming contest as a game of cricket, metaphorically. Compile a code and submit, you may get a WA (Wrong Answer). Make changes to code and eventually you will get your first AC (Accepted/Correct Answer).
Competitive programming is a mind sport usually held over the Internet or a local network, involving participants trying to program according to provided specifications. Contestants are referred to as sport programmers. Competitive programming is recognized and supported by several multinational software and Internet companies, such as Google[1][2] and Facebook.[3] There are several organizations who host programming competitions on a regular basis.
A programming competition generally involves the host presenting a set of logical or mathematical problems to the contestants (who can vary in number from tens to several thousands), and contestants are required to write computer programs capable of solving each problem. Judging is based mostly upon number of problems solved and time spent for writing successful solutions, but may also include other factors (quality of output produced, execution time, program size, etc.)Typical such tasks belong to one of the following categories: combinatorics, number theory, graph theory, geometry, string analysis and data structures. Problems related to artificial intelligence are also popular in certain competitions.Irrespective of the problem category, the process of solving a problem can be divided into two broad steps: constructing an efficient algorithm, and implementing the algorithm in a suitable programming language (the set of programming languages allowed varies from contest to contest). These are the two most commonly tested skills in programming competitions.
C++ is by far the the most popular language of choice for competitive programmers across the world as it is usually faster than Java and Python, and most of the resources are available in C++. C++ also has a vast library called STL(Standard Template Library) which makes life a lot easier for competitive coders. To prepare for competitive programming, Adapt the habit of reading which most of the youngsters don’t have nowadays. Write before coding– Implement all algorithms yourself rather than copying from someone else. Make yourself written notes while studying these concepts. Mathematics is great area to start competitive programming.First of all study all the concepts of the programming language deeply. Follow a hierarchical approach. Try to start coding using simpler problems. Implementation in real life.
If people want to get into competitive programming, they should start with sites like CodeChef, Codeforces, Topcoder, CoderByte, Hacker Rank and many others. Codeforces is a social network dedicated to programming and programming contests. On the other hand, it is a platform where contests are held regularly, the participant’s skills are reflected by their rating and the former contests can be used to prepare.
The programming community around the world has created and maintained several internet-resources dedicated to competitive programming. They offer standalone contests with or without minor prizes. Also the past archives of problems are a popular resource for training in competitive programming.
Yes, competitive programming is not the only way to master these qualities but it is one of the best ways to do so. Give it a shot, if you enjoy it, it’s worth it. You will be rewarded with objective benefits. If you don’t, even after repeated trials, give yourself a break.

 

Evocation

evocation

When you were a kid, you grew up losing yourself in those beautiful dreams you see when you saw something that inspired you and you had a deep notion of doing all those things the day you will be an adult. And the journey of that 17-18 years passed like a blink an eye and today you find yourself busy in a college lecture sitting on that dull chairs only for 75% attendance.

And then one day you meet a random kid from Kinder Garden who excitingly tells you about his school and his dreams, and then you realize that over past few years how much you have changed yourself and how much the things changed around you along with your dreams.

That meeting with kid revives your memories and in the night when you go to bed nostalgia hits you beautifully. You start comparing your present life with a kid’s life, who is sitting on a colored chair with a beautiful Mickey Mouse bag, sobbing with crystal clear tears and running nose with Pooh’s handkerchief in his hand. Saggy hairs and crying because he had lost his new Apsara pencil. You keep having these beautiful flashbacks going on in your mind and with every new memory, your heart feels much rested and peaceful than before.

You lost in the memories of fun time you had with your parent when you started going out of the house on your own feet. Walking down on the street holding your father’s finger and fearing from every random dog and cow passes by staring at you. That bicycle races, playing games like Hide and Seek, collecting flowers, scoldings from mother for getting clothes dirty, remember the things which your mother used to beat you(me from utensils, comb, handfan and many more things, I know everyone will remember while reading this but you ain’t going to tell me). With all this the night starts getting darker and the flashbacks of your childhood aren’t letting you sleep then you suddenly realize how you used to sleep in Mother’s lap when you were a kid, this makes you feel a little cozy in your bed and you don’t even remember with which memory you slept with.