the test code is wrong:
Code:

case val($sInputResult)=val($sOutput)



the rules say to return 0 or 1. with this twist in the tester, even nul output is accepted.
take the vals out, thanks.

[edit]
actually, guess it should be:
Code:

case $sInputResult = $sOutput and vartype($sInputResult) = 3




[edit2]
also this needs to be fixed:
$sInputResult=''+HappyNumbers(val($sInput))


Edited by Lonkero (2005-08-28 04:51 PM)
_________________________
!

download KiXnet