Cody

# Problem 128. Sorted highest to lowest?

Solution 1833202

Submitted on 31 May 2019 by Yue Yao Wu
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:7; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

2   Pass
x = [7 6 3]; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

3   Pass
x = [-1 6 3]; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

4   Pass
x = 20:-2:-4; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))
{"ft_lang_label":"__label__en","ft_lang_prob":0.5559822,"math_prob":0.98759764,"size":561,"snap":"2019-51-2020-05","text_gpt3_token_len":189,"char_repetition_ratio":0.17235188,"word_repetition_ratio":0.051282052,"special_character_ratio":0.35828876,"punctuation_ratio":0.14423077,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97160494,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-16T00:16:20Z\",\"WARC-Record-ID\":\"<urn:uuid:5d89f116-9b4b-421c-bb97-88bd0d678fe9>\",\"Content-Length\":\"73855\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cf0b1571-59cf-4046-ad5f-4153dcfb5731>\",\"WARC-Concurrent-To\":\"<urn:uuid:d18376c3-8ee0-4b69-8a3b-992d99274686>\",\"WARC-IP-Address\":\"184.25.198.13\",\"WARC-Target-URI\":\"https://fr.mathworks.com/matlabcentral/cody/problems/128-sorted-highest-to-lowest/solutions/1833202\",\"WARC-Payload-Digest\":\"sha1:7WJERB422X4XM63QBTE3JU2LL5QS76IT\",\"WARC-Block-Digest\":\"sha1:OFQ4SMF5VBTFBO76FMNNS63NPO6OAFOY\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575541310970.85_warc_CC-MAIN-20191215225643-20191216013643-00370.warc.gz\"}"}