One-click solution to create C++ files for Codeforces and AtCoder problems
https://github.com/user-attachments/assets/cd9f5c8f-12fc-491d-ba26-96b11d76ef88
✨ Features
- 🎯 One Click - Create problem files instantly
- 📝 Auto Template - Pre-configured C++ template with fast I/O
- 🧪 Sample Tests - Automatically fetches sample test cases
- 📁 Organized - Creates
problems/folder structure - ⚡ Fast Workflow - Copy URL → Click button → Start coding!
🎮 How to Use
Method 1: Toolbar Button (Easiest)
- Copy problem URL from browser (
Ctrl+C) - Click CP Helper button in VS Code top toolbar
- Done! File is created and opened
Method 2: Keyboard Shortcut
- Copy problem URL
- Press
Ctrl+Shift+P→ Type "CP Helper" - File auto-creates
Method 3: Command Palette
Ctrl+Shift+P- Type "CP Helper: Create Problem"
- Paste URL → Enter
📂 Generated Structure
📝 Generated File Example
// Problem: https://codeforces.com/problemset/problem/2218/A
// Platform: Codeforces
// Created: 2024-01-15
#include <bits/stdc++.h>
using namespace std;
#define fastio ios::sync_with_stdio(false); cin.tie(nullptr);
#define endl '\n'
int main() {
fastio;
// Your solution here
return 0;
}
/* Sample test cases included automatically */