結果 : define building blocks of algorithm