有 N 个花园,按从 1 到 N 标记。在每个花园中,你打算种下四种花之一。
执行用时 : 232 ms, 在Flower Planting With No Adjacent的C++提交中击败了92.48% 的用户 内存消耗 : 49.9 MB, 在Flower Planting With No Adjacent的C++提交中击败了100.00% 的用户