Problem 44403. Goldbach's marginal conjecture - Write integer as sum of three primes
Hi, yurenchu. Nice problem, and you have constructed a nicely comprehensive Test Suite. However, could you please assess the two submissions to check whether the Test Suite might be missing some valid possible triplets? (I know the first submission shouldn't pass, because I accidentally omitted one command, but I think the second submission should pass.) There is also a misprint of "y-correct" instead of "y_correct" in test number 9. Thanks, DIV.
Hi David Verelli. Thanks a lot for your comments regarding my first created problem, I really appreciate it. Sorry for not replying any sooner, but my computer broke down a few days ago. Thanks for discovering the flaws and errors in the test suite. A few of the tests were indeed missing valid solution triplets, I've fixed them now. I've also fixed the spelling error in test #9 and a problem with the random integer selection. Your solution should pass now (I don't know how long rescoring will take)! Again, thanks a lot for your feedback, much appreciated!
Solution CommentsShow comments
Problem Recent Solvers55
Find the two most distant points
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!