#include <stdio.h>
int hoge(int n) {
if (n < 0) {
return n;
} else {
return hoge(n - 1) + hoge(n - 2);
}
}
int main() { // main関数の正しい戻り値型はintです。
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgaG9nZShpbnQgbikgewogICAgaWYgKG4gPCAwKSB7CiAgICAgICAgcmV0dXJuIG47CiAgICB9IGVsc2UgewogICAgICAgIHJldHVybiBob2dlKG4gLSAxKSArIGhvZ2UobiAtIDIpOwogICAgfQp9CgppbnQgbWFpbigpIHsgIC8vIG1haW7plqLmlbDjga7mraPjgZfjgYTmiLvjgorlgKTlnovjga9pbnTjgafjgZnjgIIKICAgIHByaW50ZigiJWQiLCBob2dlKDYpKTsKfQoK