|
|
вернуться в форумWhy find two mins is wrong algoritm? What is correct algorithm? My program that find 2 mins and print Math.Max(min1 + min2 - n, 0) don't pass test 13. Re: Why find two mins is wrong algoritm? Послано MVM 15 апр 2015 01:45 Consider test 3 3 2 2 2 Your solution says that there is a person who knows three different dialects. But we can construct an example where it is not true: 1) first person knows dialects number 1 and 2 2) second knows 1 and 3 3) third knows 2 and 3 Re: Why find two mins is wrong algoritm? Do u give me ur wrong code? |
|
|