#include <iostream>
#include <setjmp.h>
static jmp_buf buf;
float funcB()
{
setjmp(buf);
return 1.6f;
}
int funcA()
{
longjmp(buf,5);
std::cout<<"b";
return 2;
}
int main()
{
funcB();
std::cout<<funcA();
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c2V0am1wLmg+CgpzdGF0aWMgam1wX2J1ZiBidWY7CgpmbG9hdCBmdW5jQigpCnsKICAgIHNldGptcChidWYpOwogICAgcmV0dXJuIDEuNmY7Cn0KCmludCBmdW5jQSgpCnsKICAgIGxvbmdqbXAoYnVmLDUpOwogICAgc3RkOjpjb3V0PDwiYiI7CiAgICByZXR1cm4gMjsKfQoKaW50IG1haW4oKQp7CiAgICBmdW5jQigpOwogICAgc3RkOjpjb3V0PDxmdW5jQSgpOwogICAgcmV0dXJuIDA7Cn0=