503f75d08b
These names don't make sense now that we run both suites the same way.
15 linhas
246 B
PHP
15 linhas
246 B
PHP
<?php
|
|
function f($a, $b, $c) {
|
|
$x = $a + $b;
|
|
$y = $a - $b;
|
|
if ($x <= 0 && $x >= 0) $x = 1;
|
|
if ($y <= 0 && $y >= 0) $y = 1;
|
|
$z = $c - 1;
|
|
if ($z <= 0) {
|
|
return $x * $y;
|
|
}
|
|
return f($x+0, $y+0, $z+0);
|
|
}
|
|
echo f(12,7,5);
|
|
echo "\n";
|