Cody

# Problem 167. Pizza!

Solution 696071

Submitted on 5 Jul 2015 by Amin Ghazanfari
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
%% z = 1; a = 1; v_correct = pi; assert(isequal(pizza(z,a),v_correct))

2   Pass
%% z = 2; a = 1; v_correct = 4*pi; assert(isequal(pizza(z,a),v_correct))

3   Pass
%% z = 1; a = 2; v_correct = 2*pi; assert(isequal(pizza(z,a),v_correct))

4   Pass
%% z = 1; a = 2; v_correct = 2*pi; assert(isequal(pizza(z,a),v_correct))
{"ft_lang_label":"__label__en","ft_lang_prob":0.54818875,"math_prob":0.9994585,"size":611,"snap":"2020-34-2020-40","text_gpt3_token_len":209,"char_repetition_ratio":0.16144976,"word_repetition_ratio":0.23232323,"special_character_ratio":0.3747954,"punctuation_ratio":0.18461539,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99843013,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-05T02:54:32Z\",\"WARC-Record-ID\":\"<urn:uuid:ef72b715-e09c-4fcf-9d45-46b9c279b287>\",\"Content-Length\":\"73953\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8f847a74-706a-4a8c-9601-dd345352d484>\",\"WARC-Concurrent-To\":\"<urn:uuid:9c2a44bb-363b-4146-b0b5-0e85120fbc69>\",\"WARC-IP-Address\":\"23.212.144.59\",\"WARC-Target-URI\":\"https://ch.mathworks.com/matlabcentral/cody/problems/167-pizza/solutions/696071\",\"WARC-Payload-Digest\":\"sha1:D4SVH7SMMIT6POHGNXPEKC5P5SCJV4LZ\",\"WARC-Block-Digest\":\"sha1:F3XEYS5ZZPYOY3PM4W235EKD5HW6GWLV\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439735906.77_warc_CC-MAIN-20200805010001-20200805040001-00013.warc.gz\"}"}