Welcome to my GitHub repository where I solve 50 beginner-friendly Codeforces problems as part of my IOI Preparation - Phase 1.
This covers essential competitive programming topics like loops, arrays, strings, math, brute force, and greedy logic.
Build a strong foundation in C++ and problem-solving before diving into advanced algorithms and data structures.
- 🧮 Math and Brute Force
- 📊 Arrays and Strings
- 🔁 Loops and Conditions
- 🧠 Greedy
- 🧵 Basic Implementation
- ⚙️ C++ STL Practice
| # | Problem Name | Link | Solution |
|---|---|---|---|
| 1 | Watermelon | 4A | ✅ |
| 2 | Way Too Long Words | 71A | ✅ |
| 3 | Team | 231A | ✅ |
| 4 | Next Round | 158A | ✅ |
| 5 | Beautiful Matrix | 263A | ✅ |
| ... | ... | ... | ... |
| 50 | Fox and Snake | 510A | ✅ |
📁 All solutions are in the
./solutions/folder named by their problem code (e.g.,004A.cpp,263A.cpp, etc.)
- Language: C++17
- Editor: CP Editor / VS Code
- Platform: Codeforces
- ✅ Completed:
10/50 - 🕒 In Progress:
40 - 🧠 Review Needed: none
git clone https://github.com/yourusername/codeforces-beginner-solutions.git
cd codeforces-beginner-solutions/solutions
g++ 004A.cpp -o 004A && ./004A