function doSquare($n, $m, $a) { $square = $n * $m; return $count; } function doCut($w) { $half = $w / 2; { return "yes\n"; } else { return "no\n"; } }
Standard input is empty
function doSquare($n, $m, $a) { $square = $n * $m; $count = ceil ($square / $a); return $count; } function doCut($w) { $half = $w / 2; if (is_int($half)) { return "yes\n"; } else { return "no\n"; } }