結果 : c scan algorithm example