#include <iostream>
#include <boost/range/irange.hpp>
int main()
{
for (auto i : boost::irange(0, 10))
{
std::cout << i << std::endl;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Ym9vc3QvcmFuZ2UvaXJhbmdlLmhwcD4KCmludCBtYWluKCkKewogIGZvciAoYXV0byBpIDogYm9vc3Q6OmlyYW5nZSgwLCAxMCkpCiAgewogICAgc3RkOjpjb3V0IDw8IGkgPDwgc3RkOjplbmRsOwkgIAkKICB9Cn0=