Skip to content

Shourov735/Codeforces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeforces Solutions

A collection of solutions to problems from Codeforces, a competitive programming platform featuring algorithmic problems of varying difficulty.

Overview

This repository contains solutions to various Codeforces problems solved in multiple programming languages including:

  • C (.c files)
  • C++ (.cpp files)
  • Java (.java files)

Problem Categories

The solutions cover a wide range of problem types:

  • Basic Problems: A+B, Simple Math Operations, String Manipulation
  • Greedy Algorithms: Fair Division, Good Kid, Halloumi Boxes
  • Dynamic Programming: Boredom, Cut Ribbon, Candies
  • Graph Problems: Dragons, Gravity Flip
  • Number Theory: Divisibility problems, Prime numbers
  • String Problems: Palindromes, Pattern matching, Character manipulation
  • Bit Manipulation: Bitwise operations
  • Simulation Problems: Array operations, Game simulations

Sample Problems Included

Some notable problems in this repository:

  • A+B.cpp - Basic input/output
  • BeautifulYear.c - Date calculations
  • Dragons.java - Game simulation
  • Boredom.java - Dynamic programming
  • CutRibbon.cpp - DP problem
  • Candies.java - Greedy algorithm
  • Football.java - Simple conditional logic
  • And many more...

Getting Started

Compiling and Running

C files:

gcc filename.c -o a
./a

C++ files:

g++ filename.cpp -o a
./a

Java files:

javac filename.java
java filename

Learning Outcomes

Working through these problems helps develop:

  • Problem-solving skills
  • Algorithm design and optimization
  • Proficiency in multiple programming languages
  • Time and space complexity analysis
  • Competitive programming techniques

Notes

  • Most solutions read from standard input and output results to standard output
  • Some problems may have multiple test cases to verify correctness
  • Solutions are organized alphabetically by problem name

Resources


Last Updated: June 2026

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors