#include <iostream>
#include <vector>
#include <string>
void cfunc(char const *cstr)
{
std::cout << cstr << std::endl;
}
int main()
{
std::vector<std::string> nums;
for(std::size_t i = 0; i < 50; ++i)
{
nums.push_back(std::to_string(i));
}
for(auto const &str : nums)
{
cfunc(str.c_str());
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8c3RyaW5nPgoKdm9pZCBjZnVuYyhjaGFyIGNvbnN0ICpjc3RyKQp7CglzdGQ6OmNvdXQgPDwgY3N0ciA8PCBzdGQ6OmVuZGw7Cn0KCmludCBtYWluKCkKewoJc3RkOjp2ZWN0b3I8c3RkOjpzdHJpbmc+IG51bXM7Cglmb3Ioc3RkOjpzaXplX3QgaSA9IDA7IGkgPCA1MDsgKytpKQoJewoJCW51bXMucHVzaF9iYWNrKHN0ZDo6dG9fc3RyaW5nKGkpKTsKCX0KCWZvcihhdXRvIGNvbnN0ICZzdHIgOiBudW1zKQoJewoJCWNmdW5jKHN0ci5jX3N0cigpKTsKCX0KfQo=