Cody

# Problem 8. Add two numbers

Solution 109031

Submitted on 10 Jul 2012 by Cris Luengo
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 = 1; b = 2; c_correct = 3; assert(isequal(add_two_numbers(a,b),c_correct))

2   Pass
%% a = 17; b = 2; c_correct = 19; assert(isequal(add_two_numbers(a,b),c_correct))

3   Pass
%% a = -5; b = 2; c_correct = -3; assert(isequal(add_two_numbers(a,b),c_correct))
{"ft_lang_label":"__label__en","ft_lang_prob":0.5396834,"math_prob":0.99764264,"size":510,"snap":"2019-35-2019-39","text_gpt3_token_len":169,"char_repetition_ratio":0.1541502,"word_repetition_ratio":0.037037037,"special_character_ratio":0.38039216,"punctuation_ratio":0.15686275,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9947206,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-08-22T00:31:45Z\",\"WARC-Record-ID\":\"<urn:uuid:0591503a-f825-4e13-9717-cfefb0f1e85c>\",\"Content-Length\":\"72089\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b4740f2a-619d-49dc-a134-994c7937322f>\",\"WARC-Concurrent-To\":\"<urn:uuid:486e4466-4156-4f09-a7cc-841d0381405d>\",\"WARC-IP-Address\":\"104.118.179.86\",\"WARC-Target-URI\":\"https://nl.mathworks.com/matlabcentral/cody/problems/8-add-two-numbers/solutions/109031\",\"WARC-Payload-Digest\":\"sha1:HEITEXK7HIA426UBGLOHIWZOT4HI6F4C\",\"WARC-Block-Digest\":\"sha1:ABS3W3A5LKC2MUVZNHVTWHN6A6TAPBFV\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-35/CC-MAIN-2019-35_segments_1566027316555.4_warc_CC-MAIN-20190822000659-20190822022659-00502.warc.gz\"}"}