Differences
This shows you the differences between two versions of the page.
pp:l112021 [2021/05/30 12:56] pdmatei created |
pp:l112021 [2021/05/30 12:57] (current) pdmatei |
||
---|---|---|---|
Line 29: | Line 29: | ||
3.1. Write a solution in PROLOG for the Partition Problem (There exists a partition $math[P] of naturals $math[x_1, \ldots, x_n], such that $math[\sum_{x_i\in P}x_i = \sum_{x_i \not\in P}x_i]). | 3.1. Write a solution in PROLOG for the Partition Problem (There exists a partition $math[P] of naturals $math[x_1, \ldots, x_n], such that $math[\sum_{x_i\in P}x_i = \sum_{x_i \not\in P}x_i]). | ||
+ | 3.2. Write a solution in PROLOG for the k-Color problem. |