치킨 쿠폰 class Solution { fun solution(chicken: Int): Int { var chic = chicken var answer: Int = 0 while (chic >= 10){ answer += chic / 10 chic = chic / 10 + chic % 10 } return answer } } 이진수 더하기 import kotlin.math.* class Solution { fun solution(bin1: String, bin2: String): String = decimalToBinary(binaryToDecimal(bin1) + binaryToDecimal(bin2)) fun binaryToDecimal(binary: String): Int{ var result:..