Glossary: Algorithms Beyond the Basics in C++
g++ -O2
Also written: -O2, -std=c++20, -Wall -Wextra
Compiler flags: `-std=c++20` selects the language version, `-Wall -Wextra` turn on warnings, and `-O2` optimizes the code; compiled this way, C++ does roughly 10⁸ simple steps a second.