← Back to archive

Stdle #3 · 2026-06-09

What does this log?

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

#include <iostream>
#include <string>
int main() {
std::string s = "abc";
s.insert(1, "XY");
std::cout << s << "\n";
}
Strings
4 attempts left

Answer & explanation