Cody

# Problem 237. Half?

Solution 178099

Submitted on 16 Dec 2012 by Mehmet OZC
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
%% x = 2; y_correct = 2/4; assert(isequal(your_fcn_name(x),y_correct))

2   Pass
%% x = 4; y_correct = 6/16; assert(isequal(your_fcn_name(x),y_correct))

3   Pass
%% x = 6; y_correct = 20/64; assert(isequal(your_fcn_name(x),y_correct))

4   Pass
%% x = 8; y_correct = 70/256; assert(isequal(your_fcn_name(x),y_correct))
{"ft_lang_label":"__label__en","ft_lang_prob":0.5444235,"math_prob":0.9941322,"size":548,"snap":"2019-51-2020-05","text_gpt3_token_len":188,"char_repetition_ratio":0.16911764,"word_repetition_ratio":0.0,"special_character_ratio":0.38321167,"punctuation_ratio":0.13,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98056173,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-25T08:04:36Z\",\"WARC-Record-ID\":\"<urn:uuid:798cf709-2ba3-42fd-a7b9-741f68ff0b37>\",\"Content-Length\":\"73520\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:93193b3f-e217-46da-84f5-d6d7a952d001>\",\"WARC-Concurrent-To\":\"<urn:uuid:012f654a-dd03-4dac-a483-68615d2c4698>\",\"WARC-IP-Address\":\"104.96.217.125\",\"WARC-Target-URI\":\"https://ch.mathworks.com/matlabcentral/cody/problems/237-half/solutions/178099\",\"WARC-Payload-Digest\":\"sha1:IDPIUWJV7GVIJX2HBX3VUFYA5DTELHH7\",\"WARC-Block-Digest\":\"sha1:5UGMELIFHSMDZHQTVHUQZE233VH7FFL2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579251671078.88_warc_CC-MAIN-20200125071430-20200125100430-00169.warc.gz\"}"}