Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Archives
Today
Total
관리 메뉴

Mintaka's log

[백준]10950번 본문

알고리즘

[백준]10950번

_해랑 2022. 5. 9. 19:11

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