Skip to content

Commit

Permalink
이진수 더하기
Browse files Browse the repository at this point in the history
  • Loading branch information
dudwns committed May 9, 2023
1 parent 9c917bd commit 5ef0303
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Programmers/exam70.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
function solution(bin1, bin2) {
var answer = parseInt(bin1, 2) + parseInt(bin2, 2);
return answer.toString(2);
}

0 comments on commit 5ef0303

Please sign in to comment.