simonzhang0428 / intro-cp-f20

ICPC's Introduction to Competitive Programming Workshop Fall 2020!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction to Competitive Programming (Fall 2020) Resources

From climbing coding leaderboards to competing in ICPC regionals to constructing clever algorithms with clever friends, the Competitive Programming journey starts here. Write your first contest solution and learn what it takes to start solving challenging and often beautiful algorithms problems!

Table of Contents

Outline

  • Session 1: Your First Solve!
  • Session 2: Math and I/O
  • Session 3: Arrays
  • Session 4: Sorting
  • Session 5: Binary Search
  • Session 6: Intro to Dynamic Programming

Links

Resources

  • Codeforces - join the UCLA Codeforces Group
  • VS Code is a popular free and easy to use editor, and the C++ plugin is excellent.
  • Windows Subsystem for Linux is a great way to get the g++ C++ compiler on your Windows computer, integrates with VS Code, and will come in handy for UCLA CS classes like 35L.
  • Mac environment setup
    • If you haven't compiled c++ code on your mac before, you will need to install clang, a c++ compiler. You can do so by running the xcode-select --install command on terminal, or downloading Xcode from the app store
    • Download VS Code for Mac, the superior IDE
    • Add the C++ plugin in VSCode
    • For more detailed instructions on this setup process, check out this post.
  • Headers on Mac
    • Make sure to include the appropriate header files at the top of your cpp file. You can copy them from the template file in this directory.
    • A commonly method to include the entire standard library in one line is including the bits/stdc++.h header file but this is not available on mac.
  • Repl.it can be used for quick development if you don't want to go through the setup steps (although we encourage you to set up a local environment). You can access a code editor, compiler, and shell without any setup.

About

ICPC's Introduction to Competitive Programming Workshop Fall 2020!


Languages

Language:C++ 100.0%