Cody

# Problem 44392. Sum of Two Numbers

Solution 1368499

Submitted on 4 Dec 2017 by Andrew Dobrovolc
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 = 1; y = 2; z_correct = 3; assert(isequal(sumTwo(x,y),z_correct));

2   Pass
x = -21; y = 32; z_correct = 11; assert(isequal(sumTwo(x,y),z_correct));

3   Pass
x = randi(100); y = randi(100); z_correct = sqrt(x^2 + y^2 + 2*x*y); assert(isequal(sumTwo(x,y),z_correct));
{"ft_lang_label":"__label__en","ft_lang_prob":0.52314204,"math_prob":0.9994935,"size":523,"snap":"2019-51-2020-05","text_gpt3_token_len":175,"char_repetition_ratio":0.15028901,"word_repetition_ratio":0.0,"special_character_ratio":0.38049713,"punctuation_ratio":0.16363636,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99927837,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-15T03:25:05Z\",\"WARC-Record-ID\":\"<urn:uuid:460e16c2-57ac-4086-ba19-de9de4eb19b4>\",\"Content-Length\":\"73504\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:94de3742-a6a9-48a2-8cbf-8bfc1a3c6907>\",\"WARC-Concurrent-To\":\"<urn:uuid:1680b8a4-dc1d-4369-85ba-442c03353954>\",\"WARC-IP-Address\":\"23.32.68.178\",\"WARC-Target-URI\":\"https://www.mathworks.com/matlabcentral/cody/problems/44392-sum-of-two-numbers/solutions/1368499\",\"WARC-Payload-Digest\":\"sha1:FNU4DUV7XBLVLYUKK3CGAOBHJXLQ25AC\",\"WARC-Block-Digest\":\"sha1:GPYKFYWPNYJYZ4SZELMW3SVQ2EGVB67P\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575541301014.74_warc_CC-MAIN-20191215015215-20191215043215-00127.warc.gz\"}"}