#include <iostream>
#include <limits>
#include <string>
#include <stdio.h>
std::string itos(int n)
{
const int max_size = std::numeric_limits<int>::digits10 + 1 /*sign*/ + 1 /*0-terminator*/;
char buffer[max_size] = {0};
sprintf(buffer, "%d", n);
return std::string(buffer);
}
#define HERE (std::string(__FILE__) + "(" + itos(__LINE__) + "): ")
int main()
{
std::cout << HERE + "Hello world" << std::endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bGltaXRzPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8c3RkaW8uaD4KCnN0ZDo6c3RyaW5nIGl0b3MoaW50IG4pCnsKICAgY29uc3QgaW50IG1heF9zaXplID0gc3RkOjpudW1lcmljX2xpbWl0czxpbnQ+OjpkaWdpdHMxMCArIDEgLypzaWduKi8gKyAxIC8qMC10ZXJtaW5hdG9yKi87CiAgIGNoYXIgYnVmZmVyW21heF9zaXplXSA9IHswfTsKICAgc3ByaW50ZihidWZmZXIsICIlZCIsIG4pOwogICByZXR1cm4gc3RkOjpzdHJpbmcoYnVmZmVyKTsKfQoKI2RlZmluZSBIRVJFIChzdGQ6OnN0cmluZyhfX0ZJTEVfXykgKyAiKCIgKyBpdG9zKF9fTElORV9fKSArICIpOiAiKQoKaW50IG1haW4oKQp7CiAgICBzdGQ6OmNvdXQgPDwgSEVSRSArICJIZWxsbyB3b3JsZCIgPDwgc3RkOjplbmRsOwp9