Live solution sync for competitive programmers

Solve it.
Keep it.

SolveBase quietly turns every accepted Codeforces, LeetCode, CSES, CodeChef, or GeeksforGeeks submission into a clean, searchable GitHub archive. You focus on the verdict. Your portfolio keeps growing.

Free foreverNo personal tokensManifest V3
solvebase / live-sync synced
SB
OverviewPlatformsActivitySettings

Today

Your archive is moving.

+12 solves
CFQueue Sortcodeforces/1600committed
LCBinary Searchleetcode/binary-searchcommitted
Accepted detectedjust now
Direct to GitHubno middleman
github.com / TushalLohar / CP-SolutionsPublic

CP-Solutions

☆ 24

Competitive programming solutions, organized automatically by SolveBase.

CodeIssues 0Pull requests 0
codeforces1899E - Queue Sort.cpp2 min ago
1600/1899E - Queue Sort.cpp2 min ago
leetcode704 - Binary Search.cppyesterday
binary-search/704 - Binary Search.cppyesterday
geeksforgeeksKadane's Algorithm.cpp3 days ago
Medium/Kadane's Algorithm.cpp3 days ago
README.md live
126Total solved42Codeforces52LeetCode
Built for the daily grind
CodeforcesLeetCodeCSESCodeChefGeeksforGeeks
One workflow, five judges

Your code, in the
right place every time.

Choose a platform to see exactly how SolveBase names folders, formats files, and updates your README.

codeforces/1600/1899E - Queue Sort.cpp ready
#include <bits/stdc++.h>
using namespace std;

void solve() {
    int n; cin >> n;
    vector<int> a(n);
    for (int &x : a) cin >> x;
    int mn = *min_element(a.begin(), a.end());
    int idx = min_element(a.begin(), a.end()) - a.begin();
    if (!is_sorted(a.begin() + idx, a.end())) {
        cout << -1 << "\n";
        return;
    }
    cout << idx << "\n";
}

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    int t; cin >> t;
    while (t--) solve();
}

README.md

| Difficulty | Solved |
| --- | --- |
| [800](./codeforces/800) | 42 |
| [1200](./codeforces/1200) | 28 |
| [1600](./codeforces/1600) | 15 |
Updated after every accepted solve
Set it once

From verdict to
portfolio proof.

01

Connect GitHub

Authorize once and pick the repository where your solutions belong.

02

Keep solving

SolveBase watches only for an accepted submission on the page you are using.

03

Build your archive

The source, folder and README stats arrive in GitHub automatically.

Designed for focus

The invisible
teammate.

01

Instant Live Detection

Page observers catch the Accepted verdict the instant it lands, with intelligent live synchronization.

02

Multi-Platform Organization

Codeforces by difficulty rating, LeetCode by algorithm topic, CSES by problem section, CodeChef and GFG by rating and difficulty.

03

Self-Updating README

Your repository summary tables and total counts update automatically after every single commit cycle.

04

Private By Design

Vercel handles only short-lived encrypted GitHub authorization data. Source code and repository syncs go directly from your extension to GitHub.

Ready when you are

Make your next
solve count twice.

Install SolveBase once. Keep your attention on the problem and let your GitHub profile tell the story.

Questions, answered

No mystery
behind the sync.

?What does SolveBase do?+

SolveBase detects newly accepted coding submissions and saves the source code to a GitHub repository using consistent platform-specific folders.

?Which coding platforms does SolveBase support?+

SolveBase supports Codeforces, standard LeetCode problem pages, CSES, CodeChef, and GeeksforGeeks. LeetCode contest and Explore editors are not supported in version 1.0.0.

?Can I save Codeforces solutions to GitHub automatically?+

Yes. SolveBase watches Codeforces verdicts, waits for the final accepted result, and commits the solution to a GitHub rating folder.

?Can I save LeetCode solutions to GitHub automatically?+

Yes. On standard LeetCode problem pages, SolveBase detects an accepted submission and saves the solution under an organized LeetCode topic folder in GitHub.

?Does SolveBase support CodeChef, CSES, and GeeksforGeeks?+

Yes. SolveBase supports accepted submissions from CodeChef, CSES, and GeeksforGeeks practice pages alongside Codeforces and standard LeetCode problems.

?Does SolveBase upload source code to its own server?+

No. The extension sends repository updates directly to GitHub. The SolveBase OAuth service handles only the short-lived GitHub authorization exchange.

?Can SolveBase use an existing GitHub repository?+

Yes. SolveBase can inspect compatible solution folders in an existing repository and preserve content outside its managed README summary block.

?Does SolveBase import every old solved problem automatically?+

No. SolveBase focuses on live accepted submissions. Existing compatible files are indexed when you connect a repository, but old platform submissions are not scraped in bulk.

?How do I save coding solutions to GitHub automatically?+

Install SolveBase from the Chrome Web Store, connect GitHub, choose a repository, and keep solving. When a supported judge reports an accepted verdict, SolveBase commits the solution directly to GitHub.

?Is SolveBase free and which browsers support it?+

SolveBase is free to install and works in Chromium-based browsers such as Chrome, Edge, Brave, and Arc. The extension uses Manifest V3 and does not require a SolveBase account.

?Does SolveBase work for interview preparation?+

Yes. It creates a searchable GitHub archive of accepted practice problems, making it easier to review patterns, show consistent practice, and keep a public coding portfolio up to date.