Cody

# Problem 558. Is the Point in a Triangle?

Check whether a point or multiple points is/are in a triangle with three corners

``` Points = [x, y];
Triangle = [x1, y1; x2, y2; x3, y3]```

Return true or false for each point tested.

``` For example,
input: Points = [0, 0.5]; Triangle = [0, 0; 1, 0; 1, 1]
output: y = 0;```

### Solution Stats

17.11% Correct | 82.89% Incorrect
Last Solution submitted on Dec 08, 2019
{"ft_lang_label":"__label__en","ft_lang_prob":0.5564803,"math_prob":0.9972129,"size":360,"snap":"2019-51-2020-05","text_gpt3_token_len":124,"char_repetition_ratio":0.15730338,"word_repetition_ratio":0.0,"special_character_ratio":0.375,"punctuation_ratio":0.22988506,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9812006,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-15T02:43:54Z\",\"WARC-Record-ID\":\"<urn:uuid:f5c13db2-9c3a-405b-9d22-3b0cc53c7b13>\",\"Content-Length\":\"103244\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f65fd779-7e82-460c-8109-03d19faf39c0>\",\"WARC-Concurrent-To\":\"<urn:uuid:319ef81f-f516-4cfb-841d-746b0804c996>\",\"WARC-IP-Address\":\"104.110.193.39\",\"WARC-Target-URI\":\"https://kr.mathworks.com/matlabcentral/cody/problems/558\",\"WARC-Payload-Digest\":\"sha1:WNJJPNTTZMCLOJHRHWE2BM5KPGAYGAWP\",\"WARC-Block-Digest\":\"sha1:7ZF5ANOHX267OCF3K5AJQJTZD62ZCMXT\",\"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-00091.warc.gz\"}"}