Cody

# Problem 42844. Detect pair of equal values in a Matrix

Solution 1152230

Submitted on 3 Apr 2017 by H M Dipu Kabir
• Size: 10
• This is the leading solution.
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 = [3 1 2 4 6 6 7; 7 3 2 1 5 2 4]; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

ans = []

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

ans = []
{"ft_lang_label":"__label__en","ft_lang_prob":0.5979305,"math_prob":0.98585963,"size":486,"snap":"2019-43-2019-47","text_gpt3_token_len":182,"char_repetition_ratio":0.13485478,"word_repetition_ratio":0.23655914,"special_character_ratio":0.41358024,"punctuation_ratio":0.10377359,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95514876,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-11-12T08:02:41Z\",\"WARC-Record-ID\":\"<urn:uuid:70f71441-2b59-4662-a96c-eb6a062205e7>\",\"Content-Length\":\"70472\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1b9b366f-603f-4d5b-9790-3c4cb88d763b>\",\"WARC-Concurrent-To\":\"<urn:uuid:c045bc55-934a-4b7b-aaf1-822ad71ca108>\",\"WARC-IP-Address\":\"104.110.193.39\",\"WARC-Target-URI\":\"https://fr.mathworks.com/matlabcentral/cody/problems/42844-detect-pair-of-equal-values-in-a-matrix/solutions/1152230\",\"WARC-Payload-Digest\":\"sha1:PLVA2KELHZNM3GGYZB7HFVMVHRVYHCOO\",\"WARC-Block-Digest\":\"sha1:PJ5VJLHODVPPWXBNZ5K7E57GY45FQDAC\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-47/CC-MAIN-2019-47_segments_1573496664808.68_warc_CC-MAIN-20191112074214-20191112102214-00499.warc.gz\"}"}