結果 : binary code and grey code