結果 : non deterministic algorithm example