← Back to archive

Stdle #1 · 2026-06-07

What does this log?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

#include <iostream>
int main() {
int x = 10;
int y = x-- + 1;
std::cout << y << " " << x << "\n";
}
Numbers
4 attempts left

Answer & explanation