总共用2^n中可能,但是我tm的,就想着贪心了,woc,真的啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊。
Problem - D - Codeforces
题解地址
思路,对于n个牌子,有相同的牌子必然是不能再一起的。这里想到二分图。用染…
Exercise 1.40 Define a procedure cubic that can be used together with the newtons-method procedure in expressions of the form (newtons-method (cubic a b c) 1) to approximate zeros of the cubic x 3 a x 2 b x c x^3 ax^2 bx c x3ax2bxc. 这道题很简单&…