Problem
Problem URL : 핸드폰 번호 가리기
[1] Answer Code (18. 07. 24)
string solution(string phone_number) {
string answer = "";
for(int i=0; i<phone_number.size()-4; i++){
phone_number[i] = '*';
}
return answer=phone_number;
}
[1] Answer Code (18. 07. 24)
- 무난 ~