📅  最后修改于: 2022-03-11 14:44:55.755000             🧑  作者: Mango
// a short fizzbuzz, can make smaller by removing spaces
#include
int i;
int main() {
for (auto &o=std::cout; ++i < 101; o<<'\n')
i%3? o : o << "Fizz",
i%5? i%3? o << i :o : o << "Buzz";
}