C++11/14のalgorithmとfunctionalで、階乗やフィボナッチ数列を作る