Mintaka's log
[백준]10950번 본문
https://www.acmicpc.net/problem/10950
10950번: A+B - 3
두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
별거아닌데 Scanner에 space입력했을 때는 엔터와 달리 숫자 입력이 안되는줄 알았다.
그런데 되더라.
다음은 자바 API 문서 Scanner 관련 항목
A Scanner breaks its input into tokens using a delimiter pattern, which by default matches whitespace.
'알고리즘' 카테고리의 다른 글
[백준] 10991- 아니 왜 안됨?-해결! (0) | 2022.05.24 |
---|---|
[백준] 10818 (0) | 2022.05.17 |
[백준] 1924번 (0) | 2022.05.17 |
[JAVA]Scanner 사용 중 nextInt 다음 nextLine 사용시 에러 (0) | 2022.05.12 |
[백준]10951번 (0) | 2022.05.09 |