#include <chrono>#include <cstdio>#include <thread>intmain(){usingnamespacestd::chrono_literals;std::setbuf(stdout, nullptr);// unbuffered stdoutstd::putchar('a');// appears immediately on unbuffered streamstd::this_thread::sleep_for(1s);std::putchar('b');} ...