v1.5.0 What's new →

Build with less friction.

Everything Sameko does, from hello.cpp to contest day.

Release notes · 1.5.0 · 24 Nov 2026

What’s new in Sameko 1.5.0

Sameko now runs on Mac, judges your tests the way a real judge does, and can submit for you.

Hello, Mac

A beta for Apple Silicon (M1 and later). It uses GCC from Homebrew and debugs with LLDB. How to install

Submit from the app

Press Ctrl + Alt + S and the Sameko Companion extension submits from your own browser, then the verdict shows up in the app.

Tests that judge like a judge

-O2 builds, a memory limit, a big stack, checkers, stress tests and freopen problems, all checked the way online judges do it.

Tools on every test

Debug a test, re-run it with sanitizers, profile it, or draw its input as a graph you can drag around.

See your arrays change

Watch a vector and the cells that changed light up. Watchpoints stop the moment a value changes.

Seven more languages

Python, Java, Kotlin, Rust, Go, Pascal and JavaScript run with the compilers already on your machine.

Also new

Go to Definition (F12), Find All References, Rename and Quick Fix from clangd, Find in Files (Ctrl + Shift + F), compile errors explained in plain words, and updates of about 20 MB instead of the whole installer.

What runs where

Windows comes with GCC 16.1.0, clangd, GDB and AStyle built in. Linux and macOS use the compiler and debugger installed on your system.

Sameko Dev C++ Wiki

Documentation from basics to advanced features.

Sameko Dev C++ is a free, open-source (MIT) C++ IDE for competitive programming and education, built on the Monaco editor. On Windows it bundles GCC 16.1.0, clangd and GDB, so you can write, run and debug C++ right after installing, without setting up MinGW yourself. Linux and macOS (beta) use the tools already on your system. This guide covers version 1.5.0.

Who is Sameko for?

  • Beginners who need a simple environment without the complexity of Visual Studio
  • Competitive programmers who need fast builds, test cases and Competitive Companion
  • Students who need a portable IDE to use on school computers via USB

Installing Sameko IDE

Which one should I choose?

Windows has 2 downloads:

  • Installer (sameko-dev-cpp-setup-<version>.exe) - Start Menu and desktop shortcuts, "Open with" for C++ files, auto-updates and an uninstaller. Recommended for most users.
  • Portable (.zip) - Extract and run anywhere, no admin rights needed. Your settings live in a data folder next to the exe, so they travel with it on a USB drive. Portable copies update by hand.

Download Sameko

Go to the homepage and click Download, or get the files from GitHub Releases.

Install or Extract

Installer: run the .exe and follow the steps. It asks for administrator rights only if you install into Program Files.
Portable: extract to a folder such as D:\Sameko-IDE\.

Run Sameko Dev C++

Start it from the Start Menu, or double-click Sameko Dev C++.exe in the portable folder.

Windows Defender warning

A new app can show "not commonly downloaded" or SmartScreen. Choose Keep, or More info → Run anyway.

macOS (beta)

For Apple Silicon Macs (M1 and later). Install the tools with brew install gcc astyle, open the .dmg and drag Sameko into Applications. The app is not signed by Apple yet, so allow it once in Terminal with xattr -cr "/Applications/Sameko Dev C++.app". Mac copies do not auto-update; Sameko shows a download button when a new version is out.

Linux packages

Linux releases are available as AppImage, .deb and .tar.gz. They do not bundle a compiler; install g++, gdb, clangd and astyle from your distribution so Sameko can detect them.

Creating your first project

After opening the IDE, write and run a Hello World program to check that everything works.

#include <bits/stdc++.h>
using namespace std;
int main() {
    cout << "Hello, Sameko!" << '\n';
    return 0;
}

Steps:

  1. Press Ctrl + N for a new file (it starts from your template in Settings › Template) and paste the code
  2. Press Ctrl + S to save it as hello.cpp
  3. Press F11 to build and run
  4. The output appears in the Terminal and in the Output card; the status bar shows run time and peak memory
Tip

F9 compiles only, F10 runs without building, F11 does both. The same choices are in the caret next to the Run button.

System Requirements

Component Minimum Recommended
OS Windows 10 64-bit, Linux x64, or macOS on Apple Silicon (beta) Windows 11
CPU Intel Core i3 / AMD Ryzen 3 Intel Core i5 / AMD Ryzen 5 or better
RAM 4GB 8GB+
Disk Space 1.5GB (free space) 2GB+

Compiler Settings

Sameko uses GCC 16.1.0 on Windows. Change the standard, optimization and extra flags in Settings › Compiler.

C++ Standard

Pick any standard from C++98 to C++26. Default is C++17, the standard most online judges and contestants use.

Standard Description
C++98 Legacy, rarely used today
C++11 / C++14 Stable, widely used, supports auto, lambdas
C++17 (Default) The usual choice for competitive programming
C++20 Adds Ranges, Concepts, Modules
C++23 Adds std::print, std::expected
C++26 Available with GCC 16.1.0; use when your target compiler supports the feature

Common Compiler Flags

  • -O2 - Optimize for speed, as most online judges do
  • -Wall - Show warnings, helps find bugs
  • -g - Add debug information (F5 adds it for you)
Fast rebuilds

Builds use a precompiled bits/stdc++.h, and building an unchanged file reuses the last executable.

Keyboard Shortcuts

Default shortcuts. Change any of them in Settings › Keybindings. On a Mac, read Ctrl as ⌘.

Shortcut Action
F5 Start or continue debugging
F9 Compile only
F10 Run, or Step Over while debugging
F11 Build & Run, or Step Into while debugging
Shift + F5 Stop the current run or debug session
Shift + F11 Step Out while debugging
Ctrl + N New file
Ctrl + O Open file
Ctrl + S / Ctrl + Shift + S Save / Save As
Ctrl + T / Ctrl + W New tab / Close tab
Ctrl + Tab / Ctrl + Shift + Tab Next / previous tab
Ctrl + Shift + T Reopen the tab you just closed
Ctrl + P / Ctrl + Shift + P Go to file / Command palette
Ctrl + Shift + F Find in files
F12 / Shift + F12 Go to definition / Find all references
F2 / Ctrl + . Rename symbol / Quick fix
Ctrl + Shift + F11 Run all tests
Ctrl + Alt + S Submit to the online judge
Ctrl + Shift + A Format code (AStyle)
Ctrl + Shift + V Markdown preview
Ctrl + / Comment / uncomment line
Ctrl + J Show or hide the bottom panel (Problems / Terminal / Tests)
Ctrl + E or Ctrl + B Show or hide the Explorer
Ctrl + \ Split editor
Ctrl + , Settings
Ctrl + = / Ctrl + - / Ctrl + 0 Interface scale up / down / reset

Themes & Customization

Sameko includes 6 built-in themes; Monokai is the default. Change the theme in Settings › Appearance.

Theme Style
Monokai Classic warm dark theme (default)
Kawaii Light Light theme with soft blue tones
Kawaii Dark Dark theme with blue accents
Sakura Light pink anime-style theme
Dracula Popular purple-toned dark theme
Nord Arctic blue dark theme

Theme Customizer

The live preview is a small copy of the real window: click any part of it to jump to its color. Colors take HEX, RGB or RGBA, each changed color has its own undo button, and Ctrl + Z / Ctrl + Y undo and redo. Edits stay in the preview until you save.

You can add a background image or video with an opacity slider, edit the theme as JSON, and export it. Exported themes include their background files.

Interface scale and background video

Settings › Appearance has Interface Scale (80–200%, Auto enlarges it on 4K screens) and an Animated Background switch to turn a theme's video off. The video pauses on its own while you work in another window.

Editor

The editor is Monaco, the same one inside VS Code, and clangd understands your C++ so it can help while you type.

Key Editor Features

  • Suggestions that know your code - completion, hover docs and parameter hints for the STL and your own functions
  • Errors as you type - red and yellow marks appear a moment after you stop typing, no build needed
  • Jump around - F12 goes to a definition, Shift + F12 lists every use, F2 renames a variable everywhere
  • Quick Fix - Ctrl + . or the lightbulb applies clangd's suggested fix, even swapping full-width punctuation for plain ASCII
  • Find in Files - Ctrl + Shift + F searches the whole folder; Ctrl + P opens a file by typing part of its name (main:12 jumps to line 12)
  • Compile errors in plain words - the first GCC error gets a short hint about what usually causes it
  • Format Code - Ctrl + Shift + A with 13 AStyle styles, or let it format on save
  • The usual comforts - multi-cursor (Alt + click, Ctrl + D), Find & Replace with regex, split editor (Ctrl + \), bracket colours, minimap and folding

Markdown and test files

A .md file opens with a rendered preview beside the editor that updates while you type (Ctrl + Shift + V, or the Preview button). .txt, .inp, .out and .ans open as plain text; live checking, IntelliSense, Format and Build skip them.

Tabs

Each tab keeps its own undo history, test cases and input. Drag to reorder and middle-click to close. Right-click a tab for Close, Close Others, Rename, Copy Path and Checkpoints; right-click the + to create a C++, C, input, output, text or Markdown file. Open tabs are restored when you reopen the IDE.

You can also drop files onto the window, or open them from Windows Explorer with "Open with Sameko Dev C++"; they open in the running window.

Inspect, pause, understand

Integrated GDB debugger

Click in the gutter to set a breakpoint and press F5. Sameko builds with debug info and opens the Debug panel next to your code. It uses the bundled GDB on Windows, your system gdb on Linux and LLDB on Mac.

Control the session

Continue, Pause, Step Over / Into / Out, Run to Cursor, Restart and Stop in one row.

Read the current state

Locals, watches, STL values, the call stack and hover-to-evaluate.

Auto dry run

Walks from main() with a speed slider. Esc stops it.

Replay a pause

Back replays recorded pauses read-only; Back to live continues.

Watch arrays change

Add a vector or array to Watch and see its cells; the ones that changed since the last step light up.

Watchpoints

Stop the moment a variable changes and see its old and new value side by side.

Change a value

Alt + click a value while paused to try a different one without rebuilding.

Crashes with a name

A crash stops at your line and says what happened, such as a stack overflow or an access out of bounds.

Shortcut note

F5 starts or continues debugging, F10 steps over, F11 steps into, Shift + F11 steps out and Shift + F5 stops. When you are not debugging, F10 runs and F11 builds and runs. Breakpoints move with the code when you add or remove lines above them.

File Explorer

Open a folder (Ctrl + E shows or hides the Explorer) to browse and manage files without leaving the IDE.

  • Files lists the folder's files and subfolders; the open file is highlighted and follows the active tab
  • The filter box at the top finds any file in the folder; Enter opens the first match, Esc clears it
  • Recent keeps the last three files you opened
  • Contest and Collections group problems, with a status (such as Done) and notes for each file
  • Right-click for New File, Rename, Delete and other file operations; New File uses your template from Settings › Template
  • Build output (.exe, .o, ...) is hidden behind a "build files hidden · Show" link

Checkpoints (Local History)

Sameko saves a checkpoint every time you save a changed file, so you can go back to an earlier version even after closing the IDE.

How It Works

  1. Every Ctrl + S that changes the file creates a timestamped checkpoint
  2. Right-click the tab › Checkpoints to see all saved versions
  3. Click a checkpoint to preview it
  4. Restore it to revert the file; Ctrl + Z brings back the text from before the restore
Tip

Checkpoints are stored locally and survive restarts and renames. Set how long they are kept with "Delete After (days)" in Settings. Great for trying different solutions during a contest.

From problem to Accepted

Tests and online judges

Grab a problem from the judge, test your solution the way the judge will, then submit, without leaving Sameko.

Get the problem

Install Competitive Companion, open a problem in your browser and click its icon. Sameko opens a new file with the sample tests already filled in. The cloud button in the top bar walks you through the setup.

Submit from the app

The new Sameko Companion extension goes one step further: press Ctrl + Alt + S (or Submit in the Tests panel) and it submits from the browser you are already logged in to, then the verdict appears in the app. Sameko never sees your password. It works with Codeforces, AtCoder, CSES, VNOJ, LQDOJ, HNOJ, LTOJ and 28tech, on Chrome, Edge and Firefox. The extension is on its way to the browser stores; the Submit button appears once it has connected.

Input, Output and Expected

Each tab has an Input, Output and Expected card. Fill in Expected and Output tells you AC or WA after each run. For a huge test, drop a .txt file on the Input card and the program reads it straight from disk. Drag the cards into the bottom panel if you like them there.

Run All Tests like a judge

Run All Tests (Ctrl + Shift + F11) builds with -O2, compares word by word (real numbers within 1e-6), enforces the time and memory limit, and gives you a big stack so deep recursion behaves as it does on the judge. Each test gets a verdict: AC, WA, TLE, MLE, RE with the crash's name, or CE.

Stress test

Give it a generator and a brute force; it runs random tests until your solution disagrees, then adds that test for you.

Checkers & interactors

Judge with a testlib checker for problems with many answers, or play against an interactor. testlib.h comes with the app.

File problems

Solutions that read BAI.INP and write BAI.OUT are judged as written; the names come from your freopen.

Your tests, your way

Turn tests on or off, import a folder of tests, save them, and set limits per problem in Problem options.

Tools on every test

Hover a test row for four buttons: Debug starts the debugger with that test as input, Re-run with checks adds STL checks and sanitizers to find the crash, Graph draws the input as a graph you can drag and zoom, and Profile shows which functions took the time.

Snippets

Snippets insert code templates when you type a short prefix and pick it from the suggestion list with Tab or Enter.

Built-in Snippets

Prefix Template
cp Competitive programming template with bits/stdc++.h and fast I/O
for / for1 / ford Loop 0 → n-1 / 1 → n / n-1 → 0
vec / vecn / vecval Vector / with size n / with size n and a value
vv 2D vector
all / rall v.begin(), v.end() / reverse range
ios Fast I/O
fre File I/O with freopen
setp Set output precision

STL IntelliSense

Clangd provides context-aware completion, documentation hover and signature help for STL members such as push_back, sort, lower_bound and substr. Built-in snippets, keywords and common standard-library names stay available while clangd warms up.

Custom Snippets

Go to Settings › Snippets to create your own: each has a prefix (trigger word) and a body (the inserted code). Import from File(s) adds one snippet per file, named after the file. Use it for your own BFS, DFS, Segment Tree or DSU templates.

Other languages

C++ is home, but Sameko can also build and run Python, Java, Kotlin, Rust, Go, Pascal and JavaScript with the compiler or interpreter already on your computer. Tests, stress tests and the external console work for them too. IntelliSense and the debugger stay C/C++ only.

Each language gets its own template in Settings › Template, and you can choose what New File creates.

Auto-Update

The installed version checks for updates in the background and downloads only what changed, usually about 20 MB.

How It Works

  1. After startup, the IDE looks for a newer stable release
  2. If one is found, it downloads in the background
  3. A notification appears when the download is complete
  4. Click Restart to update: the new version installs silently and reopens with your files
Beta updates

Only stable releases are offered by default. Turn on Settings › About › Get beta updates to also receive pre-releases.

Note

Auto-update is for the Windows installer and Linux AppImage. Portable and Mac copies show a download button when a new version is out.

Choose your workflow

How Sameko stacks up

Default setups only; extensions and local toolchains change the picture.

Sameko Dev C++

GCC 16.1.0, clangd, GDB, Competitive Companion and checkpoints in one package.

VS Code + C++

Flexible editor; you add the C++ extension, compiler and debugger.

Code::Blocks

Classic IDE with completion and GDB; the compiler depends on the package.

CLion

Full IDE for larger CMake projects with a configured toolchain.

See the full feature matrix on the homepage →

Troubleshooting

IDE won't open

Right-click Sameko Dev C++.exe, select Properties, check "Unblock" at the bottom, then Apply.

Windows Defender blocks the download

A common false positive for new Electron apps. Choose More info → Run anyway, or unblock the .exe as above.

"Missing DLL" error

Install Visual C++ Redistributable from this link.

Compile doesn't work

Check the following:

  • Antivirus isn't blocking gcc.exe or the program you built
  • The file is saved with a .cpp or .c extension (text and Markdown files are not built)
  • On Linux, g++ is installed and on your PATH

Terminal not showing output

Press Ctrl + J to open the bottom panel. If it is still empty, restart the IDE.

Need more help?

Create an issue on GitHub with a detailed description of your problem.