Haskell, 26(削除) 26 (削除ここまで) 24 bytes
f n=any(==n)$mapn=elem n$map(^2)[0..n]
Checks if any ofn is in the numberslist of all squares from 0 up to n squared equals n.
Haskell, 26 bytes
f n=any(==n)$map(^2)[0..n]
Checks if any of the numbers from 0 up to n squared equals n.
Haskell, (削除) 26 (削除ここまで) 24 bytes
f n=elem n$map(^2)[0..n]
Checks if n is in the list of all squares from 0 to n.
Haskell, 26 bytes
f n=any(==n)$map(^2)[0..n]
Checks if any of the numbers from 0 up to n squared equals n.