CCSES Better

A focused workspace for the CSES Problem Set

Make room for the problem.

Read the statement, work through your solution, and run the sample in one calm place.

Start practicing Start in guest mode
See how it works
CSES Better / Weird Algorithm Workspace
Weird Algorithm 1068C++17
EDITORmain.cpp
1#include <bits/stdc++.h>
2using namespace std;
3 
4int main() {
5 long long n;
6 cin >> n;
7 cout << n << " ";
8 while (n != 1) {
9 n = n % 2 ? 3*n+1 : n/2;
10 cout << n << " ";
11 }
12}
Run sampleSample test
TEST BENCHSample
Input3
Expected output3 10 5 16 8 4 2 1

Illustrative demo · no code is submitted. Start with the problem statement.

One workspace, fewer context switches

From first read to accepted.

Keep the tools you need close to the problem. Your code and notes stay beside the statement while you work.

Understand the task

Read CSES statements with constraints, examples, and notes in view.

Problem set

Build your solution

Use an integrated editor, keep a draft, and try your own test cases.

Editor + tests

Keep useful context

Save notes and return to the ideas you want to remember.

Notes + drafts

Choose what comes next

Browse topics, organize problems into lists, and follow your own path.

Topics + lists
The CSES Better workspace with a problem list, code editor, and test bench
The actual workspace, with the problem and tools kept side by side.

Your work, ready when you are

Pick up where you left off.

Track solved problems and submissions, revisit saved drafts, and sync your progress across devices when you sign in.

Explore the problem set
SolvedSee what you have completedSaved
Drafts and notesKeep your working contextReady
Next problemReturn to your practiceContinue

Start with one problem

Your next idea is waiting.

Open the workspace and get straight to practice. No account needed to begin.

Open CSES Better