Trick Bites: Daily CP Tricks & Video Upsolves

Revision en3, by Hamed_, 2026-03-13 00:37:59

Hello Codeforces! This is my very first blog post here, Lately I've been working on a series called Trick Bites.

The Idea

I wanted to share some special CP tricks. Some of them are uncommon but surprisingly easy (like Dinkelbach's algorithm), while others are just common tricks that everyone needs to know.

I've started releasing a new problem every day to highlight a specific trick. With each problem, I upload a short, straight-to-the-point Arabic video explaining the trick and the optimal solution.

Why this blog?

I wanted to create this blog to be a permanent archive. I will be updating this exact post daily with the new problem links and video solutions. My hope is that by saving all this content in one organized place, it can become a useful resource for anyone looking to learn some tricks!


The Trick Bites Archive (Updated Daily)

Group Link

(I will update this list every day with the latest bites!)

Day 1: Street Race

Day 2: Get k-th pair

Day 3: Duplicatesssss and Random Qatayef

Day 4: Monotonic subarrays

Day 5: Iftar 3moo Ba5

Day 6: Contribute Ya ba4a


A massive shoutout to my amazing teammates, Kareem_Elgoker and _Sherbiny, for their continuous help, brainstorming, and support in making this series happen.

I'd love to hear your feedback on the problems and the videos. Let me know what tricks you'd like to see covered in the coming days.

Tags tricks

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English Hamed_ 2026-03-18 23:29:42 863 Tiny change: ' Link:** [Convex Hull](https://' -> ' Link:** [Geometry Again??](https://'
en4 English Hamed_ 2026-03-15 00:20:21 475
en3 English Hamed_ 2026-03-13 00:37:59 2 Tiny change: '3/problem/B)\n\n* [Vi' -> '3/problem/F)\n\n* [Vi'
en2 English Hamed_ 2026-03-13 00:29:05 0 (published)
en1 English Hamed_ 2026-03-12 18:44:17 3012 Initial revision (saved to drafts)