Loading repository data…
Loading repository data…
SagarBiswas-MultiHAT / repository
Beginner-focused competitive programming practice set containing solved Codeforces 800-rated problems in C++. Each solution is organized by problem number and includes screenshots of the original statements plus step-by-step explanations. Designed to build fundamentals in logic, loops, strings, and basic algorithms.
A curated mini-collection of Codeforces 800-rated problems implemented in C++.
Every solution lives in 800/ and aligns with the original statement that you
can revisit through the included screenshots and the consolidated
questionsANDstepBYstepGuides.md file.
competitive_programming-codeforce/
├── 800/
│ ├── 1_Watermelon.cpp
│ ├── 2_Way_Too_Long_Words.cpp
│ ├── 3_Team.cpp
│ ├── 4_Bitpp.cpp
│ ├── 4_BitppRealLife.cpp # Analogy describing ++/-- intuitively
│ ├── 4_incrementDecrementInDetailes.cpp
│ ├── 5_Next_Round.cpp
│ ├── questionsANDstepBYstepGuides.md # All screenshots + an extended note
│ └── Problem Questions Photos/ # PNG statements pulled from Codeforces
└── README.md
CHECK THE 800 FOLDER FOR MORE!
| # | Problem | Core skill | Code & references |
|---|---|---|---|
| 1 | Watermelon | Basic parity & constructive proofs | 1_Watermelon.cpp · screenshot inside Problem Questions Photos/1)_Watermelon.png |
| 2 | Way Too Long Words | String compression logic | 2_Way_Too_Long_Words.cpp |
| 3 | Team | Aggregating teammate votes | 3_Team.cpp |
| 4 | Bit++ | Pre/post increment reasoning | 4_Bitpp.cpp · extra intuition files (4)_BitppRealLife.cpp, 4)_incrementDecrementInDetailes.cpp) |
| 5 | Next Round | Threshold filtering on sorted scores | 5_Next_Round.cpp · walkthrough in questionsANDstepBYstepGuides.md |
Tip: open
questionsANDstepBYstepGuides.mdif you want every screenshot in one place along with a plain-language breakdown of Next Round.
Install any C++17-capable compiler (MinGW-w64 g++, clang, MSVC, etc.).
Compile the file you care about. Example using PowerShell for Bit++:
cd E:\CP-GitHub_Clone\competitive_programming-codeforce
g++ -std=c++17 -O2 .\800\4_Bitpp.cpp -o bitpp.exe
.\bitpp.exe
Supply input exactly as Codeforces describes (copy/paste sample tests or use
redirection: Get-Content sample.txt | .\bitpp.exe).
Problem Questions Photos/ or the guide file, then
attempt the implementation yourself before peeking at the provided .cpp.questionsANDstepBYstepGuides.md.900/, 1000/,
etc., to keep a consistent archive.<index>)_<ProblemName>.cpp pattern so the problem order
stays consistent.Problem Questions Photos/ and reference them from the
guide file to maintain a single source of truth.Happy grinding, and may every submission be Accepted! 🚀