1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
f (long long d) { int i = 0; if (d == 1) i = 1; return i; } g (long long d) { int i = 0; if (d <= 0) i = 1; return i; }