<?php declare(strict_types=1); function isPerfect($n) { return pow(pow($n[0],2)+3*$n[0]+1,2); } var_dump(isPerfect(['a','b','c','d']));
You have javascript disabled. You will not be able to edit any code.