Cody

# Problem 23. Finding Perfect Squares

Solution 152670

Submitted on 21 Oct 2012 by greatordinary
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
%% a = [2 3 4]; assert(isequal(isItSquared(a),true))

2   Pass
%% a = [20:30]; assert(isequal(isItSquared(a),false))

3   Pass
%% a = ; assert(isequal(isItSquared(a),true))

4   Pass
%% a = [6 10 12 14 36 101]; assert(isequal(isItSquared(a),true))

5   Pass
%% a = [6 10 12 14 101]; assert(isequal(isItSquared(a),false))
{"ft_lang_label":"__label__en","ft_lang_prob":0.53007543,"math_prob":0.99690616,"size":527,"snap":"2020-34-2020-40","text_gpt3_token_len":187,"char_repetition_ratio":0.1625239,"word_repetition_ratio":0.09638554,"special_character_ratio":0.42504743,"punctuation_ratio":0.10576923,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9574449,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-08T14:33:57Z\",\"WARC-Record-ID\":\"<urn:uuid:c1ecced3-3bb5-4427-a8b6-283406aa1de3>\",\"Content-Length\":\"74261\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c97fbead-b886-4418-ba27-456dd8ee252a>\",\"WARC-Concurrent-To\":\"<urn:uuid:d7d656e7-aafe-413f-a474-56a2289a4dc6>\",\"WARC-IP-Address\":\"23.212.144.59\",\"WARC-Target-URI\":\"https://jp.mathworks.com/matlabcentral/cody/problems/23-finding-perfect-squares/solutions/152670\",\"WARC-Payload-Digest\":\"sha1:P6RAQNB5RYIGMARL5DFZ4NOIXI23A476\",\"WARC-Block-Digest\":\"sha1:GFUXBLKBA5IAIN6YBBUCHEL2TYFS4GVA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439737883.59_warc_CC-MAIN-20200808135620-20200808165620-00441.warc.gz\"}"}