// a short fizzbuzz, can make smaller by removing spaces #include <iostream> int i; int main() { for (auto &o=std::cout; ++i < 101; o<<' ') i%3? o : o << "Fizz", i%5? i%3? o << i :o : o << "Buzz"; }