結果 : polynomial time problem example