I Built an AI Helper for Codeforces Practice (Hints, Not Spoilers!)

Revision en1, by Austin000007, 2026-01-04 05:41:36

Hi Codeforces! I made a Chrome extension that gives hints instead of spoilers when you're stuck on practice problems. The Problem When stuck, you either:

Waste hours getting nowhere Read the editorial and spoil everything

My tool gives a third option: Smart hints without ruining the problem. How It Works Adds a "Get AI Hint" button to problem pages. Click it and get hints like:

HINT: With N ≤ 10^9, checking every divisor up to N is too slow. If N has a divisor greater than √N, what does that tell you about its corresponding smaller divisor?

The AI analyzes constraints and gives Socratic hints — no code, no full solutions. Features

No spoilers — Strictly prompted to never write code Complexity analysis — Suggests required Big-O based on constraints Native look — Integrates cleanly into Codeforces UI Free — Uses Google Gemini (generous free tier)

Installation

Get API key: Google AI Studio Download: GitHub Load in Chrome: chrome://extensions/ → Load Unpacked Add your API key in the extension popup

Disclaimer!!!

PRACTICE ONLY. Do NOT use in live contests — that's cheating and defeats the purpose. Feedback? Try it and let me know:

Does it actually help? What features would make it better? Should it support other platforms (AtCoder, LeetCode)?

GitHub: https://github.com/Badal-Roy2005/CF-AI_Helper

Tags #ai, #practice, #hint

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Austin000007 2026-01-04 05:51:54 129
en1 English Austin000007 2026-01-04 05:41:36 1435 Initial revision (published)