Thanks to visit codestin.com
Credit goes to github.com

Skip to content

killer4639/Competitve-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Competitive Programming

A curated collection of competitive programming solutions and templates. This repository is intended to help you practice algorithmic problems, study efficient implementations, and keep useful snippets and templates for contests.

Table of Contents

About

This repository contains solutions to problems from various online judges (Codeforces, AtCoder, UVA, SPOJ, LeetCode, etc.), as well as reusable templates and utility snippets that are helpful during competitive programming contests.

Solutions aim to be clear, well-documented, and (where useful) optimized for performance. Use this repo as a learning resource or a reference during practice.

Getting Started

  1. Clone the repository:

    git clone https://github.com/killer4639/Competitve-Programming.git

  2. Open and run problem solution files using the appropriate compiler/interpreter.

How to Run Solutions

C++ (example):

  • Compile:

    g++ -std=c++17 -O2 -pipe solution.cpp -o solution

  • Run:

    ./solution < input.txt

Contributing

Contributions are welcome! If you'd like to add solutions, templates, or notes:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feat/add-solution.
  3. Add your solution in the appropriate language folder. Include a comment header with problem link, contest, complexity, and short description.
  4. Commit your changes and open a pull request describing what you added.

Please follow these guidelines:

  • Name files clearly (e.g., 1234A.cpp or two_sum.py).
  • Include problem source/link in a comment at the top.
  • Keep code readable and add brief explanatory comments for non-trivial solutions.

Problem Sources and Tags

Consider organizing problems by source (Codeforces/AtCoder) and tags (graphs, dp, greedy) to make navigation easier.

Example:

  • /cpp/codeforces/ - Codeforces solutions grouped by contest id
  • /python/leetcode/ - LeetCode practice solutions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages