Sticks
Problem's Link: http://poj.org/problem?id=1011
Mean:
analyse:
爆搜,但是其中蕴含着很多剪枝。
Time complexity: O(n^2)
Source code:
// Memory Time// 1347K 0MS// by : Snarl_jsb// 2014-11-07-17.14#include #include #include #include #include #include #include #include #include