Autonomously solve GeeksforGeeks competitive programming batches using AI
-
🧠 AI-Powered Code Generation
Uses Groq’s Llama 3.3 70B model to generate optimized solutions. -
🎯 Fully Autonomous Workflow
Extracts problems, generates code, and submits solutions automatically. -
🔄 Self-Correcting System
Detects CE, RE, WA, TLE, MLE and applies targeted fixes with retries. -
⚡ High-Speed Automation
Simulates human-like typing for fast and stealthy execution. -
🛡️ Robust Code Processing
Template-aware injection, brace balancing, and cleanup of extra code. -
📊 Smart Error Handling
Improves outputs using structured feedback from submissions. -
⏱️ Timeout & Stability Control
Handles network/UI delays with safe fallback mechanisms.
pip install selenium undetected-chromedriver- Sign up at https://groq.com
- Create a
.envfile:
GROQ_API_KEY=your_api_key_here- Extracts problem data from GeeksforGeeks
- Sends structured prompts to AI
- Injects code into GFG template
- Submits and evaluates results
- Retries with fixes if errors occur
- Automating GFG problem batches
- Competitive programming practice
- Algorithm testing and benchmarking
- Learning optimized solutions