🧠 কম্পিটিটিভ প্রোগ্রামিং গাইড (CP Guide in Bengali)
📘 এই গাইডটি তৈরি করা হয়েছে বাংলায় CP শেখার সুবিধার্থে। টেকনিক্যাল টার্ম এবং কোড ইংরেজিতে রাখা হয়েছে যাতে ইন্টারন্যাশনাল স্ট্যান্ডার্ড ফলো করা যায়।
🚀 Intro
এই গাইডটি Golang দিয়ে Competitive Programming শেখার জন্য একটি সহজ পথপ্রদর্শক।
আপনি যদি CP-তে নতুন হয়ে থাকেন বা Golang-কে CP-তে ব্যবহার করতে চান, তাহলে এই গাইড আপনার জন্যই! এখানে থাকছে:
- Easy থেকে Hard লেভেলের categorized problems
- Bengali explanation সহ curated exercises
- Community-made contest problems এবং revision list
- Golang-specific tips & fast I/O templates
🛠️ কিভাবে এই Guide ব্যাবহার করবেন
- নিচে থাকা Exercises গুলো থেকে শুরু করুন Golang দিয়ে প্র্যাকটিস করতে।
- তারপর Problem List অনুযায়ী প্রতিদিন ২-৩টা করে CP Problem solve করুন।
- "Tag" দেখে বুঝে নিন কোনটা কোন contest/level এর অংশ।
- “UID” ব্যবহার করে solution submit এবং discuss করুন BGCE server এ।
- Extra Resource এবং Revision Topics অংশ ব্যাবহার করুন আপনার দক্ষতা বাড়ানোর জন্য।
- আমাদের CP সেশনগুলোতে কি কি topic নিয়ে আলোচনা হয়েছে এবং কোন কোন topic আপনি নিজে নিজে practice করবেন তা জানতে Discord CP session log দেখুন।
- This is how we are moving forward CP Roadmap
Exercises to Practice with Golang
-
প্রিন্ট করুন:
"Hello World"
- দুটি সংখ্যার যোগফল বের করুন
- If-Else দিয়ে Even/Odd চেক
- Loop দিয়ে ১ থেকে N পর্যন্ত প্রিন্ট করুন
- Function ব্যবহার করে দুই সংখ্যার গড় বের করুন
- Vowel or Consonant (dncpc1)
- Restricted (dncpc2)
- Fitness (dncpc2)
- Programming Education (dncpc5)
- Divide into 3 (dncpc7)
পরবর্তীতে আরও
exercise
add করা হবে।
🧮 Problem List
🔢 Basic Mathematical Problems
# | UID | Title | Link | Tag |
---|---|---|---|---|
1 | 4832 | Timus 1000 | Link | |
2 | 7940 | Timus 1409 | Link | |
3 | 1602 | Project Euler 1 | Link | |
4 | 2314 | Children and Candies | Link | dncpc1 |
5 | 6851 | Cloudberry Jams | Link | dncpc1 |
6 | 9473 | Restuarant | Link | dncpc1 |
7 | 5119 | Hashmat the Brave Warrior | Link | |
8 | 8640 | Between Two Integers | Link | dncpc2 |
9 | 1208 | Domino Piling | Link | dncpc2 |
10 | 3765 | Easy Problem | Link | dncpc3 |
11 | 9021 | Election Go Brrr | Link | dncpc3 |
12 | 1459 | A Game of Choice | Link | dncpc3 |
13 | 5184 | Sandglass | Link | dncpc3 |
14 | 7804 | Multiple of 2 and N | Link | dncpc4 |
15 | 2691 | Atocoder Crackers | Link | dncpc4 |
16 | 4302 | Soldier and Bananas | Link | dncpc4 |
17 | 6789 | Vasya and Socks | Link | dncpc4 |
18 | 9032 | Garden | Link | dncpc5 |
19 | 1025 | Clock Conversion | Link | dncpc5 |
20 | 5671 | Plus Minus X | Link | dncpc6 |
21 | 3421 | Square Year | Link | dncpc7 |
🔨 Brute Force Problems (Easy → Hard)
UID | Title | Link | Tag |
---|---|---|---|
4598 | Weird Algorithm | Link | |
7334 | Concatenation of Array | Link | |
1019 | Sakurako's Exam | Link | |
0313 | Ilya and Bank Account | Link | |
1676 | Equal Candies | Link | |
8123 | Good Kid | Link | dncpc6 |
6831 | Three Doors | Link | dncpc6 |
9301 | Buy a Shovel | Link | NC |
9302 | Games | Link | NC |
9303 | IQ Test | Link | NC |
9304 | New Year and Hurry | Link | NC |
9401 | Substring Problem | Link | NC |
🪙 Greedy Problems (Easy → Hard)
UID | Title | Link | Tag |
---|---|---|---|
5640 | Fifty-Fifty | Link | dncpc6 |
9276 | Distance Table | Link | dncpc7 |
3915 | Sushi for Two | Link | dncpc7 |
9305 | Candies | Link | NC |
9306 | Phoenix and Balance | Link | NC |
9307 | Turtle Puzzle | Link | NC |
9308 | Park Lighting | Link | NC |
9309 | Desorting | Link | NC |
🔤 String Problems
UID | Title | Link | Tag |
---|---|---|---|
1295 | Find Numbers with Even Number of Digits | Link | |
930A | Two Substrings | Link | NC |
930B | Dreamoon and WiFi | Link | NC |
930C | Distinct Split | Link | NC |
9402 | Greedy Takahashi | Link | NC |
9403 | Festival | Link | NC |
🔍 Binary Search / Two Pointers Problems
⚡ Implementation / Ad-hoc Problems
📐 Geometry / Constructive Problems
🔢 Math / Number Theory Problems
UID | Title | Link | Tag |
---|---|---|---|
930K | Divisibility by Eight | Link | NC |
930L | Common Divisors | Link | NC |
9404 | Next Prime | Link | NC |
9405 | Factorial Yen Coin | Link | NC |
🧩 Problems made by the community
Problem Code | Problem Name & Link | Author(Discord name) |
---|---|---|
2101 | সমান ভাগের রহস্য | popcycle |
2102 | চেস বোর্ডের সংকেত | popcycle |
2103 | একই হিরে দু’বার! | popcycle |
2201 | BGCE CP sessions | popcycle |
2202 | Tai Lung’s Trial of Balance | popcycle |
2203 | An Easy Problem : Revisited to Combination | toji |
2204 | Challenge to Kraken | toji |
2205 | Divisible Positive Subset | MArhamAA |
2206 | Yet Another LCS Problem | MArhamAA |
3001 | Kraken’s Patience (Easy Version) | HasanMubin |
3002 | Housing Crisis in Rentoria | toji |
3003 | Kraken’s Many Titles (Hard Version) | HasanMubin |
3004 | Chronicles of the Royal Scribe | toji |
3005 | Max Equal Sum | MArhamAA |
3006 | Traveler Rigan | MArhamAA |
পরবর্তীতে আরও প্রব্লেম এবং ক্যাটাগরি যুক্ত করা হবে।
📘 Tips & Resources
Important লিংকস আর রিসোর্স:
- 📚 Competitive Programming Handbook - CSES
- 🌐 CP Algorithms
- 📊 Big-O Cheat Sheet
- 🧪 CS50x Problem Sets
- 👀 Blind 75
- Fast I/O template for Golang
- DSA Series by Shradha Ma'am
আস্তে আস্তে আরও resources যুক্ত করা হবে।
আমাদের যত previous contest
No. | Contest type | Contest link |
---|---|---|
1. | Daily | dncpc1 |
2. | Daily | dncpc2 |
3. | Daily | dncpc3 |
4. | Weekly | NC001 |
5. | Daily | dncpc4 |
6. | Daily | dncpc5 |
7. | Daily | dncpc6 |
8. | Weekly | NC002 |
এই গাইডের সাথে থাকুন, নিজের প্রগ্রেস ট্র্যাক করুন, আর শেখা চালিয়ে যান!
Events (full term)
- dncpc = Daily (Nebula-Clash) practice contest
- NC = Nebula Clash
[Author: @ifrunruhin12 Date: 2025-05-09 Category: docs/warp ]