Problem 44399. 二乗になっている数を見つけよう
Solution Stats
Problem Comments
-
2 Comments
David Verrelli
on 11 Nov 2017
This appears to be duplicating an error in the original Problem: according to the problem specification, having an input of [1] should yield a result of "false", as there is no OTHER element to compare the 1 to! You can easily fix this inconsistency by either --- changing your problem specification (mention that you can compare to all vector elements, not just the 'other' elements) or --- by changing the correct result to "false" in your Test Suite.
David Verrelli
on 11 Nov 2017
Please check comments made about the original Problem to avoid duplicating errors or inconsistencies.
Problem Recent Solvers199
Suggested Problems
-
299 Solvers
-
518 Solvers
-
3372 Solvers
-
Natural numbers in string form
748 Solvers
-
318 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!