Cody

# Problem 23. Finding Perfect Squares

Solution 200187

Submitted on 4 Feb 2013 by Peter van den Biggelaar
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.5800975,"math_prob":0.9966155,"size":517,"snap":"2020-34-2020-40","text_gpt3_token_len":177,"char_repetition_ratio":0.15594542,"word_repetition_ratio":0.10666667,"special_character_ratio":0.41199225,"punctuation_ratio":0.114583336,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.957743,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-06T02:12:51Z\",\"WARC-Record-ID\":\"<urn:uuid:3a69502b-55ca-4a3d-b0e8-b905ae730b4a>\",\"Content-Length\":\"74252\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:bbc4964b-f93c-4685-a309-9a4c21ded960>\",\"WARC-Concurrent-To\":\"<urn:uuid:76d71020-f7a7-4b8e-a9b2-9e3decb2ecd1>\",\"WARC-IP-Address\":\"104.117.0.182\",\"WARC-Target-URI\":\"https://uk.mathworks.com/matlabcentral/cody/problems/23-finding-perfect-squares/solutions/200187\",\"WARC-Payload-Digest\":\"sha1:C6DEERAKA6V6U25WPNBCSD4WQICWVN7N\",\"WARC-Block-Digest\":\"sha1:JOVU2HLMJSBGPVIL5TDZNHYOWGGJCUJ7\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439735990.92_warc_CC-MAIN-20200806001745-20200806031745-00350.warc.gz\"}"}