Skip to content

GuidoTapia/Codeforces-problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeforces Problems Solutions

A comprehensive collection of my solutions to Codeforces competitive programming problems. This repository contains solutions across various difficulty levels and algorithmic concepts.

📊 Repository Statistics

  • Total Problems Solved: 50+
  • Contests Covered: 30+ different contests
  • Language: C++
  • Difficulty Range: From beginner to advanced

🗂️ Repository Structure

Codeforces-problems/
├── {contest_number}/
│   └── {problem_id}/
│       └── main.cpp

Each problem is organized by contest number and problem identifier (e.g., 1520/1520D/ for contest 1520, problem D).

🎯 Problem Categories

Graph Algorithms

  • Dijkstra's Algorithm: 20C (Shortest Path)
  • Graph Traversal: Various connectivity and pathfinding problems

Data Structures

  • Arrays and Vectors: Multiple array manipulation problems
  • Priority Queues: Used in graph algorithms

Mathematical Problems

  • Number Theory: GCD, modular arithmetic
  • Combinatorics: Counting and arrangement problems
  • Geometry: Basic geometric calculations

String Processing

  • String Manipulation: Character operations and transformations
  • Pattern Matching: String analysis problems

Greedy Algorithms

  • Optimization Problems: Making locally optimal choices
  • Sorting and Selection: Various sorting-based solutions

🏆 Notable Solutions

Advanced Problems

  • 1520D: Array analysis and mathematical insights
  • 20C: Dijkstra's shortest path algorithm implementation
  • 707B: Graph connectivity and minimum distance problems

Beginner-Friendly

  • 1A: Basic mathematical calculations
  • 4A: Simple conditional logic
  • 71A: String manipulation

🚀 Getting Started

  1. Clone the repository:

    git clone https://github.com/yourusername/Codeforces-problems.git
    cd Codeforces-problems
  2. Compile and run:

    g++ -o main.exe main.cpp
    ./main.exe
  3. Browse by contest: Navigate to any contest folder to find specific problems

📝 Problem Index

Recent Solutions (2024)

  • 2132A: Homework
  • 2132B: The Secret Number
  • 2132C1: The Cunning Seller (easy version)
  • 2132C2: The Cunning Seller (hard version)

2023 Solutions

  • 1760C: Advantage
  • 1703B: ICPC Balloons
  • 1520D: Same Differences
  • 1208C: Magic Grid
  • 1208D: Restore Permutation
  • 1203C: Common Divisors
  • 1196D2: RGB Substring (hard version)
  • 1093A: Dice Rolling
  • 1093C: Mishka and the Last Exam
  • 1061A: Coins
  • 1016A: Death Note

2022 Solutions

  • 998B: Cutting
  • 992A: Nastya and an Array
  • 977A: Wrong Subtraction
  • 977D: Divide by three, multiply by two
  • 940B: Our Tanya is Crying Out Loud
  • 935A: Fafa and his Company
  • 847G: University Classes
  • 842B: Gleb And Pizza
  • 755C: PolandBall and Forest
  • 707B: Bakery
  • 630A: Again Twenty Five!
  • 523A: Rotate, Flip and Zoom

2021 Solutions

  • 433B: Kuriyama Mirai's Stones
  • 368B: Sereja and Suffixes
  • 356A: Knight Tournament
  • 282A: Bit++
  • 263A: Beautiful Matrix
  • 231A: Team
  • 213B: Numbers
  • 189A: Cut Ribbon
  • 158A: Next Round
  • 112A: Petya and Strings
  • 71A: Way Too Long Words
  • 50A: Domino piling
  • 35D: Animals
  • 20C: Dijkstra?
  • 6B: President's Office
  • 4A: Watermelon
  • 4C: Registration System
  • 1A: Theatre Square
  • 1B: Spreadsheet
  • 1C: Ancient Berland Circus

2020 Solutions

  • 705A: Hulk

📈 Progress Tracking

This repository serves as a personal progress tracker for competitive programming skills development. Each solution represents a step forward in algorithmic thinking and problem-solving abilities.

🤝 Contributing

While this is primarily a personal repository, suggestions and improvements are welcome! Feel free to:

  • Report bugs in existing solutions
  • Suggest optimizations
  • Share alternative approaches

📚 Learning Resources

About

A repository for all my solutions to codeforces problemset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages