Introduction to Competitive Programming
CONTENTS
1.
2.
3.
4.
5.
6.
CODING PLATFORMS
STARTING WITH CP
RESOURCES
OPPORTUNITIES
ANNOUNCEMENT
DOUBTS SESSION
CODING PLATFORMS
1
MAJOR PLATFORMS
CODECHEF
CODEFORCES
HACKERRANK
HACKERRANK
HackerRank is one of the best platforms to start coding. It contains a lot of problem ranging from Basic to Intermediate level.
It is generally preferred for beginners as its UI is quite friendly, and has some good questions to start with.
You can also filter questions by topics/tags.��Special Mention:
Important Links:� Languages: C++, Python
Problem Solving: Algorithms
TAGS
Brute-force, but you build your answer
BRUTE-FORCE
Try all possible solutions and then pick the best one
GREEDY
IMPLEMENTATION
NUMBER THEORY
WQSIWYC :p�What question says is what you code.
Missing JEE Maths?�Here it is!
BASIC TEMPLATE
Includes all possible�Header files, so you don’t have to take care of that.
}
Just mention these three lines to optimize the code.�Helps in fast Input/Output.
CODEFORCES
Rating is a measure of your performance. Each time, you participate in a Rated contest, your rating either increases or decreases, based upon your performance.
Your initial rating is 0. As you gain rating points, you get promoted to different ranks. When you give your first contest, you become a Newbie. It can fall below 0 as well.
Newbie | 0 - 1199 |
Pupil | 1200 - 1399 |
Specialist | 1400 - 1599 |
Expert | 1600 - 1899 |
Candidate Master | 1900 - 2099 |
Master | 2100 - 2399 |
Grand Master | 2400+ |
CODEFORCES CONTESTS
There are 3 main divisions in codeforces : Division 1, 2 and 3. Based on these divisions, there are several type of contests as well. A Rated contest affects your ratings. Unrated contests don’t affect your ratings.
Division 3 contests rated for participants having rating < 1600.
Division 2 contests and Educational rounds are rated for participants having rating < 2100.
Division 2 contests often take place with Division 1 rounds as well. In this case, Division 2 round is rated for participants having rating < 1900 and Division 1 is rated for participants having rating >= 1900
Global rounds and Division (1 + 2) contests are rated for all.
Besides this, you can give contests virtually as well. A Virtual contest is basically a real time contest, the server simulates the events just like they occured in the real time contest, but again your rating won’t change.
CODECHEF
Long Challenge
Duration: 10 days
No. of Questions: 10
- Starts on the 1st friday of every month
CookOff
Duration: 2.5 hrs
No. of Questions: 5-6
- Held once in a month
Lunchtime
Duration: 3 hrs
No. of Questions: 5-6
- Held once in a month
CodeChef is a competitive programming community set up by the Indian company, Directi that hosts 3 official contests per month, along with various external contests.
★ | 0-1399 |
★★ | 1400-1599 |
★★★ | 1600-1799 |
★★★★ | 1800-1999 |
★★★★★ | 2000-2199 |
★★★★★★ | 2200-2499 |
★★★★★★★ | >=2500 |
The initial rating for a user is 1500 and it has some ranks based on your rating which will be discussed further. The rating increases or decreases according to the performance in rated contests and isn’t based on the no. of questions solved during practice.
HOW TO START WITH CP??
2
ROADMAP
Set up your environment and learn Basic C++/C.
STEP 3
Begin with A20J ladder A, thus get familiar with CodeForces.
STEP 1
STEP 5
Try some contests and ask doubts from mentors.
Start solving easy problems from HackerRank.
STEP 2
Learn basic concepts from COPS YouTube Channel.
STEP 4
IMPORTANT RESOURCES
3
MAJOR RESOURCES
Complete beginner playlist. Doc attached in the video description has additional resources and practice problems.
Any kind of doubt - just google it and write gfg
Best content for any algorithm and topic.
Collection of resources of various topics with problems made by seniors.
Best book for those who really love to read. Given all techniques and methods in amazing way
OPPORTUNITIES FOR GIRLS
4
Intern Opportunities for girls after 2nd year
Adobe She Codes
Google STEP intern
Microsoft Codess
Uber SHE++
Adobe She Codes
-- Registrations start in October.
-- Shortlisting is done on the basis of your Resume.
-- This is followed by a coding round.
-- It is also based on DSA (Data Structures and Algorithms).
-- Finally there’s an interview only if selected in the coding round.
Google STEP Intern
-- Registrations generally start in December.
-- Shortlisting is done on the basis of your Resume.
-- If shortlisted the you are eligible for an interview which is mainly based on DSA.
-- Generally there are two interviews but it is not necessary.
Microsoft Codess
-- Registrations generally start in March.
-- Shortlisting is done on the basis of a coding test again based on DSA.
-- It is followed by an ideathon which is like a group discussion and solutions have to be found out for a problem statement.
-- Finally there’s an interview round.
Uber SHE++
-- Registrations generally start in March.
-- Shortlisting is done on the basis of a coding test again based on DSA.
-- If selected in the coding test then you’re eligible for a camp but there’s no internship after 2nd year plus you need not sit for the coding round during on campus internship tests as you’re eligible for interviews.
FUTURE PLANS
5
NP COMPETE
THANKS!
copsiitbhu.co.in
Club of Programmers,
IIT BHU Varanasi
DO YOU HAVE ANY QUESTION?