Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
구현 기능 목록
✅ 기능 요구 사항
Console
API에서 제공하는Console.readLineAsync()
메서드를 활용하여 문자열을 입력한다.Console.print()
메서드를 활용하여 결과를 출력한다.,
또는:
을 구분자로 가지는 문자열을 전달할 경우, 구분자를 기준으로 분리한 각 숫자의 합을 반환한다."1,2"
=>3
/"1,2:3"
=>6
//
와\n
사이에 위치하는 문자를 커스텀 구분자로 사용한다."//;\n1;2;3"
과 같이 값을 입력할 경우 커스텀 구분자는;
이며, 결과 값은 6이 반환되어야 한다.✅ 유효성 검사